Not able to set an empty database password

This is the place to discuss bugs that have been found in the most recent version of PivotX. Posting bugs will ensure that the Development Team is aware of them and that they will be addressed when resources are available.

Not able to set an empty database password

Postby Schop » Wed Jul 27, 2011 1:49 pm

In PivotX 2.2.6, it is no longer possible to set the MySQL database password as empty. This is really annoying for local testing. Looking at forms.php, it looks like someone made an effort to make empty passwords possible, but leaving the field empty still results in an error.
User avatar
Schop
Contributor
 
Posts: 485
Joined: Mon Apr 21, 2008 1:47 pm
Location: Hudson, Ohio

Re: Not able to set an empty database password

Postby Harm10 » Wed Jul 27, 2011 8:12 pm

Looking through forms.php there seem to be a lot of fields that do not have the right validation.
I'll check them all and make an update.
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: Not able to set an empty database password

Postby hansfn » Thu Jul 28, 2011 7:08 am

@Schop: This has been fixed several weeks ago and will be part of PivotX 2.2.7. You can have a look at forms.php in pivotx-2.2.x-latest.zip that you find in http://pivotx.net/files/unstable-development/ - or just upgrade to that version.
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: Not able to set an empty database password

Postby Harm10 » Thu Jul 28, 2011 9:24 pm

Tested with the latest version but fields couldn't be cleared. Went through forms.php and changed a lot of fieldvalidations (as I promised ;) ).
Now this field can be cleared as it is not a required field.
Please try revision 3796 http://pivot-weblog.svn.sourceforge.net/viewvc/pivot-weblog/branches/2.2.x/pivotx/forms.php?view=log.
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: Not able to set an empty database password

Postby Harm10 » Fri Jul 29, 2011 9:06 pm

In the end hansfn is right! So I changed forms.php again to revision 3799. DB password validation works also when emptying the field.
Thanks for correcting me Hans!
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)


Return to 2.x Bugs

Who is online

Users browsing this forum: No registered users and 3 guests

cron