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 1013590

Summary: Repo Discovery: when no previous product exists in org, the radio button should default to New Product
Product: Red Hat Satellite Reporter: Kedar Bidarkar <kbidarka>
Component: WebUIAssignee: Eric Helms <ehelms>
Status: CLOSED CURRENTRELEASE QA Contact: Sachin Ghai <sghai>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.2CC: cwelton, ehelms, jmontleo, mmccune, sghai
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-02 14:05:12 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
In discovery repo when no prd, radio button should default to new product
none
'New Product' radio button is selected on repo discovery none

Description Kedar Bidarkar 2013-09-30 12:02:08 UTC
Created attachment 805158 [details]
In discovery repo when no prd, radio button  should default to new product

Description of problem:

If no previous products exists while discovering repo, it should default to New Product and should disable the selection of "existing product" radio button.

Version-Release number of selected component (if applicable):
Satellite-6.0.2-RHEL-6-20130925.0

How reproducible:
Try creating repo via repo-discovery, in an org without any prod/provider.

Steps to Reproduce:
1.
2.
3.

Actual results:

Throws error saying, ["undefined method `editable?' for nil:NilClass"]

Expected results:
The radio button, Should automatically default to "New Product", if the org has no product.

Additional info:

Comment 1 RHEL Program Management 2013-09-30 12:08:37 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Eric Helms 2013-10-07 16:53:06 UTC
Upstream tracking - https://github.com/Katello/katello/pull/3103

Comment 6 Kedar Bidarkar 2013-10-17 12:04:20 UTC
The radio button does not default to "New Product", looks like it's failing related to this bug https://bugzilla.redhat.com/show_bug.cgi?id=1018132

Comment 7 Mike McCune 2013-10-22 03:09:49 UTC
we can move this to MDP3, not critical

Comment 8 Eric Helms 2014-05-29 16:25:08 UTC
Sending back to QA as this appears from my local testing to have been resolved.

Comment 10 Sachin Ghai 2014-06-09 10:00:44 UTC
Verified with sat6 beta snap8 compose 2 (Satellite-6.0.3-RHEL-6-20140605.0)

when no product is already created in an org, and discovering a repo automatically selects 'New Product' radio button option.

Comment 11 Sachin Ghai 2014-06-09 10:01:54 UTC
Created attachment 904598 [details]
'New Product' radio button is selected on repo discovery

Comment 12 Bryan Kearney 2014-07-02 14:05:12 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.