Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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   
Whiteboard:
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:
Embargoed:

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

Verified:

steps: 
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

observation:
- 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.

https://access.redhat.com/errata/RHSA-2019:1222