Project

General

Profile

Bug #20992

Roles cleared when error detected in User creation dialog

Added by Marek Hulán about 1 year ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Users
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1492848

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): Foreman nightly

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.

Associated revisions

Revision ecdc2350 (diff)
Added by Marek Hulán 5 months ago

Fixes #20992 - keep selected roles (#5832)

History

#1 Updated by Marek Hulán about 1 year ago

  • Subject changed from Roles cleared when error detected in User creation dialog to Roles cleared when error detected in User creation dialog
  • Category set to Users

#2 Updated by The Foreman Bot 5 months ago

  • Assignee set to Marek Hulán
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/5832 added

#3 Updated by Tomer Brisker 5 months ago

  • Triaged set to No
  • Target version set to 1.20.0

#4 Updated by Marek Hulán 5 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Tomer Brisker 2 months ago

  • Fixed in Releases 1.20.0 added

Also available in: Atom PDF