News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

User Edit bug when saving user data and/or changing password

Started by SteP[IT], January 06, 2013, 10:39:00 AM

Previous topic - Next topic

SteP[IT]

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:


  • saving user account without filling any of the two password fields: user is NOT alerted that he is not changing his password when leaving password fields blank
  • saving user account when filling only one of the two password fields: user is NOT alerted that he is trying to wrongly change the password, and that the result is an unchanged password.
  • saving user acconut when correctly filling both password fields with a correct password: user in NOT alerted that his password has been correctly changed

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
J 3.9.2 - VM 3.4.3

MMC EDIZIONI - Italian High-Quality PaperBooks Publisher
Site: https://www.mmcedizioni.it

Milbo

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.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

SteP[IT]

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?
J 3.9.2 - VM 3.4.3

MMC EDIZIONI - Italian High-Quality PaperBooks Publisher
Site: https://www.mmcedizioni.it

jenkinhill

Try including <jdoc:include type="message" /> in your Joomla template header to allow Joomla to report front end errors.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

SteP[IT]

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)
J 3.9.2 - VM 3.4.3

MMC EDIZIONI - Italian High-Quality PaperBooks Publisher
Site: https://www.mmcedizioni.it

SteP[IT]

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.
J 3.9.2 - VM 3.4.3

MMC EDIZIONI - Italian High-Quality PaperBooks Publisher
Site: https://www.mmcedizioni.it