Details
-
Bug
-
Resolution: Fixed
-
Low
-
5.7
Description
If you change the application password in Crowd, then when you go to edit this password in Confluence, you are forced to click "Test Settings" before you can "Save and Test". After clicking "Test Settings", the value of the password is then reset in the form to the previous value, so if you immediately click "Save and Test" after "Test Settings", the old password will be saved again.
Steps to Reproduce
Set up an application in Crowd
Connect Confluence to that application and check it's synchronising successfully
Change the application password for that application in Crowd
Disable and re-enable the directory in Confluence to immediately invalidate the session to Crowd
Force a sync and watch it fail
Edit the directory
Enter the new password and click "Test Settings"
After the test succeeds, click "Save and Test"
Observe that the sync still fails
Observe that the password value stored in cwd_directory_attribute table is still holding the old password
Expected Results
The value should be held after clicking "Test Settings", so that then clicking "Save and Test" will work correctly.
Actual Results
The value is lost, so the new password doesn't get saved
Workaround
After clicking "Test Settings", enter the new password again into the form before clicking "Save and Test"
Attachments
Issue Links
- relates to
-
JRASERVER-38149 When editing an existing Crowd directory to change the application password, the application password value is reset to the old value after clicking "Test Settings"
- Closed