Actions
Bug #32026
closedSaving invalid cloned role ends up with Internal server error
Status:
Closed
Priority:
Normal
Assignee:
Category:
Users, Roles and Permissions
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1934427
Description of problem:
Error message displayed when cloning a role without supplying name:
Oops, we're sorry but something went wrong undefined method `id' for nil:NilClass
How reproducible:
always
Steps to Reproduce:
1. In Foreman UI: Administer > Roles
2. Pick a role, select Clone from the dropdown
3. Don't input any information in the form and click Submit
Actual results:
Red box with the aforementioned error
Expected results:
Information about the required field
Additional info:
Updated by Ondřej Ezr over 3 years ago
- Subject changed from Saving invalid cloned role ends up with 500. to Saving invalid cloned role ends up with Internal server error
- Category set to Users, Roles and Permissions
- Target version set to 2.4.1
- Triaged changed from No to Yes
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ondřej Ezr
- Pull request https://github.com/theforeman/foreman/pull/8369 added
Updated by Ondřej Ezr over 3 years ago
- Related to Bug #21545: Role cloning treats taxonomies differently in UI and API added
Updated by Ondřej Ezr over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|d5301b08c6a4ce53af82c9f954d23041ca6fa9cb.
Updated by Tomer Brisker over 3 years ago
- Fixed in Releases 2.4.0 added
- Fixed in Releases deleted (
2.5.0)
Actions