Bug 755042

Summary: Errata on promotions do not show what has already been promoted
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: WebUIAssignee: Eric Helms <ehelms>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: ehelms, mmccune
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 20:54:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Justin Sherrill 2011-11-18 16:25:13 UTC
Description of problem:

The errata on promotions always show 'add' even if they are already promoted.

1.  Sync a repo with errata.
2.  Promote the product to "Devel"
3.  Go back to locker and look at the errata for that product

results:

All errata still have the 'add' button. 

We have to go through all the repos in the product and verify that all the corresponding repos in the next environment already have it and if so say 'promoted'.  Just like we do with packages.

Comment 1 Mike McCune 2012-01-26 19:38:45 UTC
mass move to CFSE product.

Comment 2 Eric Helms 2012-02-17 15:24:07 UTC
b4c296f83c307cf144eede7b08ec36287140ba61

Errata at both the top level and nested underneath a product will now display the proper state of the errata based on whether it is promotable or not.  That being a '+ Add' link when promotable, the word 'Promoted' and nothing next to the name if the errata requires the repository it belongs to to be promoted first.

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

Comment 4 Jeff Weiss 2012-03-19 17:24:41 UTC
Verified, CloudForms System Engine Version: 0.1.304-1.el6

Both top level and under product, already-promoted errata say "Promoted", no add link.

Comment 5 Mike McCune 2013-08-16 17:54:50 UTC
getting rid of 6.0.0 version since that doesn't exist