Project

Profile

Help

Issue #3418

closed

I shouldn't be able to delete a content unit used by a repo version

Added by daviddavis over 6 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
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 #1

Updated by daviddavis over 6 years ago

  • Description updated (diff)
Actions #2

Updated by dalley over 6 years ago

  • Sprint/Milestone set to 56
  • Triaged changed from No to Yes
Actions #3

Updated by daviddavis over 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to daviddavis
Actions #4

Updated by daviddavis over 6 years ago

  • Subject changed from I can delete a content unit used by a repo version to I shouldn't be able to delete a content unit used by a repo version
Actions #5

Updated by daviddavis over 6 years ago

Consider showing the repo versions that are using the content unit to the user when they try to delete the content unit.

Actions #6

Updated by bmbouter over 6 years ago

  • Sprint set to Sprint 33
Actions #7

Updated by bmbouter over 6 years ago

  • Sprint/Milestone deleted (56)
Actions #8

Updated by jortel@redhat.com over 6 years ago

  • Sprint changed from Sprint 33 to Sprint 34
Actions #9

Updated by CodeHeeler over 6 years ago

  • Assignee changed from daviddavis to CodeHeeler

Added by CodeHeeler over 6 years ago

Revision f30561a2 | View on GitHub

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

Added by CodeHeeler over 6 years ago

Revision f30561a2 | View on GitHub

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

Actions #10

Updated by CodeHeeler over 6 years ago

  • Status changed from ASSIGNED to MODIFIED
Actions #11

Updated by dkliban@redhat.com over 6 years ago

  • Sprint/Milestone set to 3.0.0
Actions #12

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3, Pulp 3 MVP)
Actions #13

Updated by bmbouter almost 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF