-
Sub-task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
Description of problem:
As of Satellite 6.14 there is an option to remove a repository even if it is part of a published content view. However, users are not allowed to remove the repository from the Products Page.
In the UI there are 3 ways to disable/remove a repository.
1. Content => Product, select a product, select a repository, from the drop down menu in upper right select "Remove Repository" (works)
2. Content => Product, select a product, select a box for a repository, select "Remove Repositories" (doesn't work)
3. Content => Red Hat Repositories => Disable a repository (doesn't work)
Currently option 1 is the only one that works. It will let you know which published content view the repository is apart of, and will let you completely remove it.
Option 2 will fail with "cannot be deleted since it has already been included in a published Content View. Use repository details page to delete". During a live session the last line was not noticed "Use a repository details page to delete". Which leads users and support to think this is a bug, or something is wrong. It is very misleading, and users should be able to delete from this page as well.
Option 3 typically won't let you disable a repository if it is in a published content view. However, upon repositories becoming orphaned, the option to disable the repository is enabled. But when you try to disable it, it will also complain "cannot be deleted since it has already been included in a published Content View." Currently the option to disable a repository that is part of a published content view is allowed per orphaned repositories which happens due to issues mentioned in this jira https://issues.redhat.com/browse/SAT-22966
I understand if option 3 will not be fixed, as it is an extreme edge case. But I think option 2 you should be able to delete a repository from the Product page.
How reproducible:
always
Is this issue a regression from an earlier version:
No
Steps to Reproduce:
1. Navigate to Content => Product
2. Select a Product
3. Select the box to the left of a repository and select "Remove Repositories"
Actual behavior:
Repository will not be removed, it will tell you it is part of a published content view.
Expected behavior:
Repository should be able to be deleted from both the Product page, as well as the Repsoitory Details Page (currently only the Repository Details Page works)
Business Impact / Additional info:
QE Tracker for https://issues.redhat.com/browse/SAT-27693