katello icon indicating copy to clipboard operation
katello copied to clipboard

Fixes #37617 - Deletion of repository not working from "Products" pagee when repo in published CV

Open Thorben-D opened this issue 7 months ago • 0 comments

Redmine issue and reproducer

When a user tries to delete a repository of a product, which is part of a published CV, an error is raised. This happens despite the delete_repo_across_cv-setting being set to true. Deletion from the "details" page of the respective repository works as expected.

It appears like it was forgotten to adapt the RepositoriesBulkActionsController to account for the delete_repo_across_cv setting.

This PR adresses this by adding the missing logic.

Thorben-D avatar Jul 02 '24 14:07 Thorben-D