Bug #17218

Compute Resource password field reverts to "old" password after pressing Test Connection

Added by Ondřej Pražák 10 months ago. Updated 9 months ago.

Status:Duplicate
Priority:Low
Assigned To:-
Category:Compute resources
Target version:Team Marek backlog
Difficulty: Bugzilla link:
Found in release: Pull request:
Story points-
Velocity based estimate-

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1389810
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).
How reproducible:
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.

Related issues

Duplicates Foreman - Bug #13497: InvalidLogin: Cannot complete login due to an incorrect u... New 02/01/2016

History

#1 Updated by Ondřej Pražák 10 months ago

  • Tracker changed from Feature to Bug
  • Subject changed from Compute Resource password field reverts to "old" password after pressing Test Connection to Compute Resource password field reverts to "old" password after pressing Test Connection
  • Category changed from VM management to Compute resources

#2 Updated by Ondřej Pražák 10 months ago

  • Target version set to Team Marek backlog

#3 Updated by Ivan Necas 9 months ago

Ondrej, might this be a duplicate http://projects.theforeman.org/issues/13497?

#4 Updated by Ondřej Pražák 9 months ago

  • Status changed from New to Duplicate
  • Bugzilla link deleted (1389810)

Ivan Necas wrote:

Ondrej, might this be a duplicate http://projects.theforeman.org/issues/13497?

You are right, setting this to duplicate.

#5 Updated by Ondřej Pražák 9 months ago

  • Duplicates Bug #13497: InvalidLogin: Cannot complete login due to an incorrect user" when trying to provision a new host added

Also available in: Atom PDF