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 1189169

Summary: Web UI tries to allow promotion of CVs with no environment
Product: Red Hat Satellite Reporter: David O'Brien <daobrien>
Component: WebUIAssignee: Steve Loranz <sloranz>
WebUI sub component: Foreman QA Contact: Katello QA List <katello-qa-list>
Status: CLOSED NOTABUG Docs Contact:
Severity: high    
Priority: unspecified CC: bbuckingham, cwelton, mmccune, nobody
Version: 6.0.7Keywords: Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/9976
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-10 16:26:49 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:

Description David O'Brien 2015-02-04 15:45:51 UTC
Description of problem:

If you have version 1 of a CV in Library and you create a new version, the original v1 remains, but with no environment associated. That's ok.

But, the Promote button for that version is still active, and you can click it and the UI asks for an environment to promote to, but you can't select anything.

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

6.0.7

How reproducible:

Always

Steps to Reproduce:
1. Create a CV and life cycle environment, path, etc
2. Publish the CV to Library
3. Create a new version
4. Notice that Promote button is available both versions

Actual results:

Promote is available for earlier versions.

Expected results:

Should only be able to promote the latest version.

Additional info:

Comment 1 RHEL Program Management 2015-02-04 15:53:26 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 Steve Loranz 2015-03-31 15:45:06 UTC
Created redmine issue http://projects.theforeman.org/issues/9976 from this bug

Comment 4 Mike McCune 2015-07-10 16:26:49 UTC
If the older version was never promoted, no reason why you can't promote an old version.

going to CLOSE:WONTFIX as this is by design