Bug 1321060

Summary: Product details page shows a Remove Product button for Red Hat repositories
Product: Red Hat Satellite Reporter: jcallaha
Component: WebUIAssignee: John Mitsch <jomitsch>
WebUI sub component: Katello QA Contact: jcallaha
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: bbuckingham, oprazak
Version: 6.2.0Keywords: Regression, Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14861
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:15:47 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
product details page
none
Disabled button with tooltip when product is a Red Hat product
none
Disabled button with tooltip when product is in a published cv none

Description jcallaha 2016-03-24 14:59:53 UTC
Created attachment 1140004 [details]
product details page

Description of problem:
The product details page erroneously shows a Remove Product button. clicking it asks you to verify the choice, but no further feedback is provided. 
It could be useful to change the button to a Disable Product button and have that functionality.

Version-Release number of selected component (if applicable):
6.2 Beta Snap 5.1

How reproducible:
Always

Steps to Reproduce:
1. Enable a RH product
2. Navigate to the product's details page

Actual results:
A Remove Product button is presented. See attached image.

Expected results:
No Remove button is present, or (ideally) a Disable

Comment 3 Brad Buckingham 2016-04-21 18:33:54 UTC
WORKAROUND:

No workaround available; however, it should be noted that this is not how Red Hat products should be deleted.  They are created as a result of importing a manifest; therefore, if the desire is to delete them, the manifest must be updated and refreshed or deleted from the Satellite.

Comment 4 John Mitsch 2016-04-27 20:41:43 UTC
Created redmine issue http://projects.theforeman.org/issues/14861 from this bug

Comment 5 Bryan Kearney 2016-04-28 20:15:36 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14861 has been closed

Comment 6 Ondřej Pražák 2016-05-26 10:39:45 UTC
Created attachment 1161886 [details]
Disabled button with tooltip when product is a Red Hat product

Comment 7 Ondřej Pražák 2016-05-26 10:41:02 UTC
Created attachment 1161888 [details]
Disabled button with tooltip when product is in a published cv

Verified on RHEL 7, snap 13.1

Comment 8 Bryan Kearney 2016-07-27 11:15:47 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1501