Actions
Issue #3418
closedI shouldn't be able to delete a content unit used by a repo version
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 34
Quarter:
Description
Steps:
1. Sync a repo
2. Check the number of content units in the latest version
3. Delete a unit (ie http DELETE http://localhost:8000/api/v3/content/file/95789069-9ceb-414c-8e58-063841f26d42/
)
4. Note that the number of content units in the repo version has decreased by 1
Actions
Stop deletion of content unit used by repo version
You should not be able to delete a unit of content that is used by a repo version so that ability has been removed.
fixes #3418 https://pulp.plan.io/issues/3418