Bug #17434

Removing puppet module causes content view to not show that unit within it

Added by Justin Sherrill over 1 year ago. Updated 8 days ago.

Status:New
Priority:Normal
Assignee:-
Category:Repositories
Target version:Katello Backlog
Difficulty:easy Team Backlog:Brad
Triaged:Yes Fixed in Releases:
Bugzilla link: Found in Releases:
Pull request:

Description

Deleting a content unit from a repository seems to delete the record from our database for that content unit even if it is published in A content view (in which case it would still be available in that CV).

We should just remove it from the repository instead.

History

#1 Updated by Justin Sherrill over 1 year ago

  • Subject changed from Removing rpm/puppet module/other type delete db record even if published in a CV to Removing rpm/puppet module causes content view to not show that unit within it

Actually we aren't removing it from the table, but instead it seems that the queries are incorrect when trying to search for it (and are relying on it being in Library)

#2 Updated by Justin Sherrill over 1 year ago

  • Subject changed from Removing rpm/puppet module causes content view to not show that unit within it to Removing puppet module causes content view to not show that unit within it

#3 Updated by Justin Sherrill over 1 year ago

Steps to reproduce

1. Create a puppet repo
2. UPload a puppet module
3. Publish a CV with that module
4. From the repo details page, remove that puppet module from the repo
5. Visit the content view version details page
6. View the puppet modules in the content view version details
7. Observe that the module is not there.

#4 Updated by Brad Buckingham over 1 year ago

  • Target version changed from 140 to 147

#5 Updated by Eric Helms over 1 year ago

  • Assignee deleted (Justin Sherrill)
  • Legacy Backlogs Release (now unused) set to 114

#6 Updated by Brad Buckingham over 1 year ago

  • Target version changed from 147 to 151

#7 Updated by Brad Buckingham over 1 year ago

  • Target version changed from 151 to 157

#8 Updated by Brad Buckingham over 1 year ago

  • Target version changed from 157 to 160

Also available in: Atom PDF