Bug 1902047 - [RFE] In the message "Repository cannot be deleted since it has already been included in a published Content View" , include the name of CV and it's versions
Summary: [RFE] In the message "Repository cannot be deleted since it has already been ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.7.0
Hardware: All
OS: All
high
medium
Target Milestone: 6.11.0
Assignee: satellite6-bugs
QA Contact: Cole Higgins
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-26 16:27 UTC by Sayan Das
Modified: 2023-12-15 20:09 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:28:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 33710 0 Normal Closed Support for 'force deleting' a repository even if it's included in content view versions 2021-11-03 20:19:47 UTC
Foreman Issue Tracker 33779 0 Normal Closed UI for 'force deleting' a repository if it's included in content view versions 2021-11-03 20:19:29 UTC
Red Hat Issue Tracker SAT-3300 0 None None None 2023-01-20 16:06:15 UTC
Red Hat Knowledge Base (Solution) 3180551 0 None None None 2020-11-26 16:27:53 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:28:45 UTC

Description Sayan Das 2020-11-26 16:27:53 UTC
1. Proposed title of this feature request

Rather than just showing "Repository cannot be deleted since it has already been included in a published Content View" , include the name of CV and versions where the repository included.


2. What is the nature and description of the request?

Change in code for the product is required to achieve the desired goal. 


3. Why does the customer need this? (List the business requirements here)

This will allow spending less time in finding out the name of CV's and versions.


4. How would the customer like to achieve this? (List the functional requirements here)

Right now, if I try to disable a repository that is part of a Content View, It will only show following message.

~~
Repository cannot be deleted since it has already been included in a published Content View. Please delete all Content View versions containing this repository before attempting to delete it.
~~

When customer will have many CV's and is not aware of which CV they need to look into , they will open up a support case and we will eventually suggest executing the second rake command present in https://access.redhat.com/solutions/3180551 , to get the list of affected CV's and their versions where the repository is included.

If the same can be already printed as a part of the Pop-up message in UI, that makes the work for the customer much easier . 


5. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
- Build a Satellite.
- Sync some RH repos
- Add those repos in a CV, publish a new version of the same and promote the same.
- Now try to disable any of those repos from Content --> Red Hat Repositories page and It should print the CV name and version where the repo is included.

6. Is there already an existing RFE upstream or in Red Hat Bugzilla?
No.


7. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?

As soon as possible


8. Is the sales team involved in this request and do they have any additional input?
No.


9. List any affected packages or components.
- tfm-rubygem-katello


10. Would the customer be able to assist in testing this functionality if implemented?
NA


11. Additional information:

NA

Comment 7 Bryan Kearney 2021-11-04 13:49:24 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/33710 has been resolved.

Comment 13 errata-xmlrpc 2022-07-05 14:28:38 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 (Moderate: Satellite 6.11 Release), 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/RHSA-2022:5498


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