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 852320 - undefined method `library?' for nil:NilClass (NoMethodError) when creating a changeset without an environment
Summary: undefined method `library?' for nil:NilClass (NoMethodError) when creating a...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Bryan Kearney
QA Contact: Kedar Bidarkar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-28 07:58 UTC by Kedar Bidarkar
Modified: 2019-09-26 14:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-19 18:13:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kedar Bidarkar 2012-08-28 07:58:15 UTC
Description of problem:

undefined method `library?' for nil:NilClass (NoMethodError)  when creating a changeset without an environment

Version-Release number of selected component (if applicable):
Katello Version: 1.1.6-1.git.19.0c0be49.el6 

How reproducible:

Upon creating a changeset, without an environment

Steps to Reproduce:
1.
2.
3.
  
Actual results:
Throws an error with,

undefined method `library?' for nil:NilClass (NoMethodError) 

Expected results:

The error needs to be properly handled and inform the user of the missing environment.

Additional info:

Comment 2 Pavel Pokorny 2012-09-11 07:00:09 UTC
Fixed in cf618a2

Comment 3 Kedar Bidarkar 2012-11-02 08:38:43 UTC
I checked with the 2012/10/28 build and this issue appears fixed, not sure why it's not moved to ON_QA, any reasons?

Comment 5 Mike McCune 2013-08-16 18:03:12 UTC
getting rid of 6.0.0 version since that doesn't exist

Comment 6 Mike McCune 2013-09-19 18:13:54 UTC
These bugs have been resolved in upstream projects for a period of months so I'm mass-closing them as CLOSED:UPSTREAM.  If this is a mistake feel free to re-open.


Note You need to log in before you can comment on or make changes to this bug.