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 796852 - Unable to add Repository object to System Template
Summary: Unable to add Repository object to System Template
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: Unspecified
Assignee: Brad Buckingham
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On: 789533
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2012-02-23 18:53 UTC by Michael Solberg
Modified: 2019-09-26 13:31 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 18:29:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
katello-debug output (1.64 MB, application/x-gzip)
2012-02-23 18:53 UTC, Michael Solberg
no flags Details

Description Michael Solberg 2012-02-23 18:53:02 UTC
Created attachment 565352 [details]
katello-debug output

Description of problem:
I'm unable to add a Repository to a System Template.

Version-Release number of selected component (if applicable):
katello-0.1.238-4.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. Select a System Template under "Content Management" -> "System Templates"
2. Select a Product with one or more defined Repositories in the "Eligable Content" frame.
3. Select a Repository under the Product and click "Add"
  
Actual results:
Add link changes to spinning wheel.


Expected results:
Repository is added to System Template under "Repositories"


Additional info:

Comment 1 Mike McCune 2012-02-23 23:05:22 UTC
For me the 1st one added fine but the 2nd Add attempt failed and the spinner just sat there forever.

Comment 2 Eric Helms 2012-02-27 22:03:33 UTC
Update to clarify the issue.  Repositories with dashes in the name will fail to add while repositories without dashes in the name will add properly.  This is a result of an issue with the way dashes are handled in search currently across all models not just repositories.  

See https://bugzilla.redhat.com/show_bug.cgi?id=789533 for more details.

Comment 4 Brad Buckingham 2012-03-05 20:35:03 UTC
commit: 6b9ea70884ba125ee422ec724bfb4d3271f43f29

Ref: bug 789533#c5

Updated Katello usage of Lucene query syntax to 'escape' the - operator, since it is commonly used as a separator in names (e.g. repos, packages...etc).

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

Comment 7 Jeff Weiss 2012-03-08 18:59:34 UTC
Verified, Katello Version: 0.2.8-1.git.11.033f96d.el6

Comment 9 Mike McCune 2013-08-16 18:20:24 UTC
getting rid of 6.0.0 version since that doesn't exist


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