Bug 790187 - Inconsistent handling of deleting non-existent things related to package groups
Summary: Inconsistent handling of deleting non-existent things related to package groups
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Todd Sanders
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-13 21:02 UTC by Jay Dobies
Modified: 2013-09-27 14:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-27 14:11:34 UTC


Attachments (Terms of Use)

Description Jay Dobies 2012-02-13 21:02:02 UTC
Deleting a package group that doesn't exist results in a vague warning:

[jdob@pulp1 ~]$ pulp-admin packagegroup delete --repoid pulp-f16 --id foo
Unable to delete Packagegroup [foo] from repository [pulp-f16]

Deleting a package group category that doesn't exist shows a successful delete:

[jdob@pulp1 ~]$ pulp-admin packagegroup delete_category --repoid pulp-f16 --categoryid foo
Package group category [foo] deleted from repository [pulp-f16]

We should pick one behavior and stick with it, at least within the same section of commands (in this case, package groups).

Comment 86 Michael Hrivnak 2013-09-27 14:11:34 UTC
These commands have changed drastically and no longer have this problem.


Note You need to log in before you can comment on or make changes to this bug.