Bug #36123
closedCannot force delete repositories that are included in export content view versions
Description
To reproduce:
1) Create a CVV with a repository and export it (I used the syncable format, not sure if it matters).
2) Export the repository and library in two other exports.
3) Try to delete the repository from its details page. After the delete modal pops up, delete it, and it will fail. I believe in the finalize step.
The error will complain about library_instances_inverse.
Normal, non-generated content views do work with forced repo deletion.
Files
Updated by Ian Ballou over 1 year ago
It the generated content view versions aren't being included in the list of versions to force delete from.
Updated by Ian Ballou over 1 year ago
Also it seems the Library export CV is the one that's giving troubles. The repository export CV gets deleted when I try to delete the related repository.
Updated by The Foreman Bot over 1 year ago
- Status changed from New to Ready For Testing
- Assignee set to Samir Jha
- Pull request https://github.com/Katello/katello/pull/10474 added
Updated by The Foreman Bot over 1 year ago
- Fixed in Releases Katello 4.9.0 added
Updated by Samir Jha over 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|df934dc7ef0e4ce49996132198317b080deb760a.