Description of problem:
New password entered into the password field of Compute Reource does not save when then executing any action other than Submit (such as Test Connection).
Always, in customer environment.
Steps to reproduce:
In the webUI, navigate to Infrastructure > Compute Resource > select an existing resource for which you want to change the login credentials.
If you enter the new username and password and hit ***anything but Submit***, that command works, but when the screen is refreshed the old password is defaulted, then when you try anything else, the old password is used and the new operation fails.
If you enter the new username and password and immediately hit hit Submit, You can then go back and edit again and "load datacenters", "test connection" or whatever.
The new username and password are remembered for that single operation. If that operation is Submit, then the password is saved and will be used for future operations.
I would think that the username and password should be remembered until you Cancel, Submit, or leave the page.
Created redmine issue http://projects.theforeman.org/issues/17218 from this bug
Connecting redmine issue http://projects.theforeman.org/issues/13497 from this bug
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/13497 has been resolved.
Ales, what CR type have you tested?
Upstream bug assigned to tbrisker
I was able to reproduce in upstream, the fix didn't take this flow into consideration. Separate fix will be needed.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.