Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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
Version-Release number of selected component (if applicable):
Sat 6.9 snap 15
How reproducible:
always
Steps to Reproduce:
1. In Satellite 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:
This was introduced in BZ#1488908 so it is in from 6.6.
It can be quite annoying, but probably not a show stopper. I filed a upstream PR, if we get it in fast, I'd suggest 6.9, if not I'd not push it.
Steps to Test:
1. Deploy Satellite 6.10, snap 2.
2. In the webUI, navigate to Administer > Roles.
3. Select the "Clone" option from the dropdown menu in the "Actions" column for any role.
4. When the "Create Role" page loads, click the "Submit" button without entering any information in the form.
Expected Results:
A descriptive error message is displayed.
Actual Results:
The required "Name" input field is outlined in red, and the message "can't be blank" is displayed in red text next to the input field.
Verified on Satellite 6.10, snap 2 (foreman-2.5.0-0.8.rc3.el7sat.noarch).
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: Satellite 6.10 Release), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2021:4702