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.

Bug 839265

Summary: undefined method `sort_by' for nil:NilClass while adding system group from right pane
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: WebUIAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED UPSTREAM QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: cwelton, jmontleo, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-28 18:09:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
error when clicking on 'Add' under system groups none

Description Sachin Ghai 2012-07-11 12:11:36 UTC
Created attachment 597545 [details]
error when clicking on 'Add' under system groups

Description of problem:
I created a system group and was trying to add. However Before passing the name, I simply clicked on 'Add' button and UI raised following error:

undefined method `sort_by' for nil:NilClass


Version-Release number of selected component (if applicable):
katello-0.2.44-1.git.73.3737e93.el6_3.noarch

How reproducible:
always

Steps to Reproduce:
1. Register a system
2. select the system, click the 'system groups' in right pane.
3. click on 'Add', without passing the system group name.
  
Actual results:
undefined method `sort_by' for nil:NilClass

Expected results:
UI should raise a proper error message, when user click the Add button without passing group name. 

Additional info:

Comment 1 Mike McCune 2013-08-16 17:52:48 UTC
getting rid of 6.0.0 version since that doesn't exist

Comment 2 Brad Buckingham 2014-03-11 17:03:43 UTC
This page was re-implemented using nutpane.  Moving it to POST to verify with QA.

Comment 4 Corey Welton 2014-07-28 18:09:02 UTC
QA Closing Upstream