marcellustavares/liferay-portal — pull request #296 by zsagia (2014-07-29 08:34:53+00:00)
Title: [Technical-Support] LPS-45660 StaleObjectStateException on password update with LDAP export and email address verification

Hi Marcellus,

I copied Vilmos's comments for this fix:
"
I found this issue during the testing of https://issues.liferay.com/browse/LPS-45580

I fixed it by changing the return value from User to void of some methods related to passwordUpdate and reload the user from the enityCache before further usage.

The LDAP export is mandatory for this, and I think the email verification also a must.
"

Regards,
Zsaga