Error- Object reference not set to an instance of an object - Change customer password from admin side.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 6 años
Hello,

Reproduce step is.

1. Site should be 3.80
2. Create some customer without password.
3. Upgrade you site to 3.90
4. Edit those customer who having null password entry in CustomerPassword Table.
5. Try to change password you will get error. Because you didn't handle null condition in below line.

 return customerPassword.Password.Equals(savedPassword);


On PasswordsMatch method.

We did below change for solution:

if(customerPassword.Password == null)
return false;
  
return customerPassword.Password.Equals(savedPassword);



Thanks,
Jatin
Hace 6 años
Hi Jatin,

Thanks a lot for reporting and the solution. I've just fixed it
Hace 6 años
Hi,

How can I get email notification after change password?

Please reply as soon as possible.
Hace 6 años
sharif14811 wrote:
Hi,

How can I get email notification after change password?

Please reply as soon as possible.


Hello,

Its depend from where you are changing password. If you are changing password from front side then use Customer.PasswordRecovery message template.

If you are changing customer or your password from admin side then there is not available email notification out of the box.

Thanks,
Jatin
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.