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