VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: SteP[IT] on January 06, 2013, 10:39:00 AM

Title: User Edit bug when saving user data and/or changing password
Post by: SteP[IT] on January 06, 2013, 10:39:00 AM
In my setup (J 2.5.8 - VM 2.0.16c), I have found some strange behaviour regarding password fields, when saving user data by the Edit User Account page.

Saving account data does not alert user that his password is/is not changed, as hereafter detailed:


btw: alert message is correctly showed ONLY when saving a user account and the two password fields have been filled with different passwords

Could you please verify that and address a patch asap?

Thank you in advance
Title: Re: User Edit bug when saving user data and/or changing password
Post by: Milbo on January 06, 2013, 12:24:59 PM
I wouldnt call this a bug.

Often it is so that one password is already prefilled. To sent in this case a message would lead to a unneeded message. To avoid this message users have to empty the password field.
We could add a message for a succesful password change. But I am wondering that joomla is not doing it, because we dont do it. We call the joomla method and give it the data.
Title: Re: User Edit bug when saving user data and/or changing password
Post by: SteP[IT] on January 06, 2013, 12:36:25 PM
I haven't checked the Joomla password change directly, because I need it only for VM users... but is strange that, as already told, the alert message appears only when introducing different password in each one of the two fields.
May be adding a js to further check password fields difference/inconsistency could help user to receive feedback on this situation?
Title: Re: User Edit bug when saving user data and/or changing password
Post by: jenkinhill on January 06, 2013, 13:13:05 PM
Try including <jdoc:include type="message" /> in your Joomla template header to allow Joomla to report front end errors.
Title: Re: User Edit bug when saving user data and/or changing password
Post by: SteP[IT] on January 06, 2013, 13:31:40 PM
Quote from: jenkinhill on January 06, 2013, 13:13:05 PM
Try including <jdoc:include type="message" /> in your Joomla template header to allow Joomla to report front end errors.

This is not my case: I already get a error message when (and only when) inserting two different passwords in password fields (in any case I have tried it (just to be sure) but it doesn't get the right results)
Title: Re: User Edit bug when saving user data and/or changing password
Post by: SteP[IT] on January 06, 2013, 14:03:20 PM
To be more exact, when saving user form with empty password fields, or only one of them filled, I see a message saying "User data stored"... in my opinion, this message let user believe that also password has been changed, even in the case he filled none or only one of the two pwd fields. And this is wrong.