Bug 1492848

Summary: Roles cleared when error detected in User creation dialog
Product: Red Hat Satellite Reporter: Perry Gagne <pgagne>
Component: Users & RolesAssignee: Marek Hulan <mhulan>
Status: CLOSED ERRATA QA Contact: Jameer Pathan <jpathan>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: dhlavacd, jpathan, mhulan, oprazak, pcreech
Target Milestone: 6.5.0Keywords: EasyFix, Triaged, UserExperience
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-14 12:36:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Perry Gagne 2017-09-18 18:09:56 UTC
Description of problem: When filling out the user creation dialog, if the user forgets to enter a required filed (such as the "Authorized by" or Username, an error is printed (which is correct). However, this seems to clear whatever roles the have been selected.

Version-Release number of selected component (if applicable): 6.3.0

How reproducible: Always

Steps to Reproduce: 
1. Open Users dialog
2. Fill out the form and select some roles, but leave a required fieid blank (like username)
3. Press submit

Actual results: The selected roles get cleared 

Expected results: The selected roles persist.  

Additional info:

Comment 2 Marek Hulan 2017-09-19 07:04:19 UTC
Created redmine issue http://projects.theforeman.org/issues/20992 from this bug

Comment 3 Satellite Program 2018-07-13 14:04:55 UTC
Upstream bug assigned to mhulan

Comment 4 Satellite Program 2018-07-13 14:04:58 UTC
Upstream bug assigned to mhulan

Comment 5 Satellite Program 2018-07-23 14:04:43 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20992 has been resolved.

Comment 8 Jameer Pathan 2018-11-26 11:20:37 UTC
@satellite 6.5.0 snap 5


1. go to Administer > Users
2. click on Create User
3. Fill out the form and select some roles, but leave a required fieid blank (like username)
4. Press submit

- error is printed
- The selected roles persist.

Comment 11 errata-xmlrpc 2019-05-14 12:36:38 UTC
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.