Symptoms

  1. Customer creates staff member with login TestUser
  2. End user goes to login screen of Control Panel, clicks Forgot password and enters login name in case different from the original one specified Control Panel (i.e. testuser or TESTUSER or TESTuser)
  3. He receives the link for password reset via email
  4. When he opens this link he gets error Restore Password operation failed Old URL.

The following can be seen in OA debug log (in this example, the user is called TestUser and the staff member enters it as testuser) upon sending the secret:

Jun 18 11:50:06 osscore : DBG [UI:pre-login40041:1403085027319 1:19453:f61ffb70 Kernel]: STMT [Con: 33843, 0xf50513f8 txn:1342760] ' INSERT INTO user_secrets(username, secret, exp_date) VALUES ( ?, ?, ? )'($0 = 'testuser', $1 = 'y50mogbe5uf4lp6xfina4df', $2 = '2014-06-18 12:50:06.000000')

The following can be seen when trying to set a new password:

Jun 18 11:50:31 osscore : DBG [UI:pre-login40047:1403085053006 1:19453:f61ffb70 Kernel]: STMT [Con: 19590, 0xf5654a58 txn:1342891] ' SELECT exp_date FROM user_secrets WHERE username = ? AND secret = ?'($0 = 'TestUser', $1 = 'y50mogbe5uf4lp6xfina4df') 
Jun 18 11:50:31 osscore : DBG [UI:pre-login40047:1403085053006 1:19465:ec6e4b70 lib]: [txn:1342891 UI_impl::changePasswdBySecret] {module_id="UI"; code="40"} There is no secret 'y50mogbe5uf4lp6xfina4df' for user '${user}'. 

Cause

The issue has been reported to the development team as POA-82387 and fixed in Operations Automation 5.5 Update 6.

Resolution

Please make sure that Operations Automation 5.5 Update 6 is installed on your environment. To avoid this error on previous versions of OA please enter the login name with the correct case to restore the password via "Forgot password" link.

Internal content

Link on internal Article