Project

General

Profile

Actions

Bug #32026

closed

Saving invalid cloned role ends up with Internal server error

Added by Ondřej Ezr about 3 years ago. Updated about 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 #1

Updated by Ondřej Ezr about 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
Actions #2

Updated by Ondřej Ezr about 3 years ago

  • Found in Releases 2.3.3 added
Actions #3

Updated by The Foreman Bot about 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
Actions #4

Updated by Ondřej Ezr about 3 years ago

  • Related to Bug #21545: Role cloning treats taxonomies differently in UI and API added
Actions #5

Updated by The Foreman Bot about 3 years ago

  • Fixed in Releases 2.5.0 added
Actions #6

Updated by Ondřej Ezr about 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #7

Updated by Tomer Brisker about 3 years ago

  • Fixed in Releases 2.4.0 added
  • Fixed in Releases deleted (2.5.0)
Actions #8

Updated by Tomer Brisker about 3 years ago

  • Target version deleted (2.4.1)
Actions

Also available in: Atom PDF