Project

General

Profile

Actions

Bug #32026

closed

Saving invalid cloned role ends up with Internal server error

Added by Ondřej Ezr over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Users, Roles and Permissions
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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:


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #21545: Role cloning treats taxonomies differently in UI and APIClosedDominik Hlavac DuranActions
Actions

Also available in: Atom PDF