Bug 1202698 - Bulk Action->'Remove Products' button should be disabled or proper Error Message should be displayed for Red Hat products.
Summary: Bulk Action->'Remove Products' button should be disabled or proper Error Mess...
Keywords:
Status: CLOSED DUPLICATE of bug 1129448
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.1.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: John Mitsch
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-17 09:00 UTC by Jitendra Yejare
Modified: 2019-04-01 20:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-28 19:35:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot of Error message for Bulk delete actions for both Redhat and custom product. (142.12 KB, image/png)
2015-03-17 09:00 UTC, Jitendra Yejare
no flags Details

Description Jitendra Yejare 2015-03-17 09:00:09 UTC
Created attachment 1002720 [details]
Screenshot of Error message for Bulk delete actions for both Redhat and custom product.

Description of problem:
The 'Remove Products' button should be disabled -or- A Proper message should be displayed and action should be taken while deleting mix of Custom and RedHat products in bulk.

Version-Release number of selected component (if applicable):
Redhat Satellite 6.1 Snap 6 Compose 2

How reproducible:
Always

Steps to Reproduce:
1. Add/Upload a subscription manifest from Content - > Red Hat Subscriptions.                                                         
2. From Rehat Repositories-> Red Hat Enterprise Linux Server -> Red Hat Enterprise Virtualization Agents for RHEL 6 Server (RPMs), Select Red Hat Enterprise Virtualization Agents for RHEL 6 Server RPMs x86_64 6.6. Sync this repo from Sync Status.
3. Go to Products, add new custom product with a repo. And Sync that repo from Sync Status.
4. Go to Products, Select both custom and Rehat products.
5. Click on Bulk Actions button.
6. Click on Remove Products button.

Actual results:
1. An error message displayed as 'An error occurred removing the Products: Cannot delete a Red Hat Products or Products with Repositories published in a Content View'.
2. Custom product is not deleted.

Expected results:
'Remove Products' button should be disabled if any Redhat product is selected to delete only custom products.
--OR--
Custom Product should be deleted with proper message indicating custom product deleted and Redhat product cannot be deleted.

Additional info:
NA

Comment 2 Brad Buckingham 2016-04-28 19:35:47 UTC
This BZ is actually a duplicate of 1129448; therefore, goiong to close this one.

*** This bug has been marked as a duplicate of bug 1129448 ***


Note You need to log in before you can comment on or make changes to this bug.