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 786110

Summary: Removal of system template fails if Repo added
Product: Red Hat Satellite Reporter: Kedar Bidarkar <kbidarka>
Component: WebUIAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: bbuckingham, cwelton
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: 2012-08-22 18:23:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kedar Bidarkar 2012-01-31 13:52:42 UTC
Description of problem:

Upon removal of system template, it throws an error saying 

"undefined method `eq' for nil:NilClass" 

"An error has occurred while communicating with the server"

Not sure if any logs I could provide here, as it's not able to communicate with the server.


Version-Release number of selected component (if applicable):
katello-201

How reproducible:
Adding a repo to system template via UI is must.

Steps to Reproduce:
1.
2.
3.
  
Actual results:
Cannot Remove a System Template if Repo is added

Expected results:
Should be possible to remove the System TEmplate 

Additional info:

Comment 1 Kedar Bidarkar 2012-02-02 07:10:13 UTC
*** Bug 786591 has been marked as a duplicate of this bug. ***

Comment 2 Brad Buckingham 2012-02-02 14:20:16 UTC
commit - c41ec4f9f55bcf4c9036bef07208fcae5c16d08c

This change required adding an id column to the system_templates_repositories table.  As a result, developers need to run 'clear-all.sh' to regenerate the schema.

Comment 3 Mike McCune 2012-03-07 23:44:06 UTC
mass move ON_QA after brewing

Comment 4 Corey Welton 2012-03-15 17:16:58 UTC
QA verified.

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