Project

General

Profile

Actions

Bug #36123

closed

Cannot force delete repositories that are included in export content view versions

Added by Ian Ballou over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

Actions #1

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.

Actions #2

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.

Actions #3

Updated by Ian Ballou over 1 year ago

  • Description updated (diff)
Actions #4

Updated by Quinn James over 1 year ago

  • Triaged changed from No to Yes
Actions #5

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
Actions #6

Updated by Samir Jha over 1 year ago

  • Bugzilla link set to 2175226
Actions #7

Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases Katello 4.9.0 added
Actions #8

Updated by Samir Jha over 1 year ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF