[OPENAM-11834] Passwords being set to empty strings in tabbed forms in XUI Created: 2017-09-25  Updated: 2018-01-22  Resolved: 2017-10-05

Status: Closed
Project: OpenAM
Component/s: XUI
Affects Version/s: 13.5.1, 14.0.0, 14.1.1, 14.5.0
Fix Version/s: 13.5.2, 14.5.0

Type: Bug Priority: Major
Reporter: Julian Kigwana [X] (Inactive) Assignee: Julian Kigwana [X] (Inactive)
Resolution: Fixed Votes: 0
Labels: AME, Must-Fix, TURING, XUI
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified


Attachments: PNG File 13.5.0.png     PNG File 13.5.2-RC1.png    
Issue Links:
is required by OPENAM-11763 "Saving" CTS configuration overwrites... Closed
is duplicated by OPENAM-11763 "Saving" CTS configuration overwrites... Closed
is caused by OPENAM-10472 Values are not properly updated when ... Closed
OPENAM-12055 Password being set to empty String on... Technical task Closed  
Target Version/s:
Rank: 1|hzuagf:
Needs backport:
Support Ticket IDs:
Verified Version/s:
Needs QA verification:
Functional tests:
Are the reproduction steps defined?:
Yes and I used the same an in the description

  1. Goto the Oauth2 clients view
  2. On the first tab change any property except the password and press save
  3. Go to another tab and press save
Expected behaviour:

The form to save the properties properly

Current behaviour

A validation error from the server, because the password in the previous tab has been changed to an empty string!

Code analysis

This behaviour was introduced while resolving OPENAM-10472 and will potentially effect all tabbed jsoneditor forms that have passwords.

Comment by Julian Kigwana [X] (Inactive) [ 2017-10-05 ]

This needs backporting to 14.1.1 and 13.5.1

Comment by Julian Kigwana [X] (Inactive) [ 2018-01-04 ]

Ľubomír Mlích please take a look at my comment and examples on the PR, https://stash.forgerock.org/projects/OPENAM/repos/openam-sustaining/pull-requests/1227/overview?commentId=267781

Comment by Ľubomír Mlích [ 2018-01-22 ]

Julian Kigwana [X] thanks.

Reproduced on OpenAM 13.5.0 Build 550cfe7d60 (2016-July-13 08:43) , that I can see password being replaced on http://amqa-clone70.test.forgerock.com:8080/openam/XUI/#configure/server-defaults/cts while saving CTS Token Store where password is not visible for user.
Verified bug fix on OpenAM 13.5.2-RC1 Build be353da9e6 (2018-January-03 11:17) 

Comment by Ľubomír Mlích [ 2018-01-22 ]

Nobody will verify in 14.5.0 as this version is already released, closing.

Generated at Thu Aug 05 00:34:54 UTC 2021 using Jira 8.18.0#818000-sha1:7776b165f584421b7ef511966762ab376b0bd81c.