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