Project

General

Profile

Actions

Bug #12385

closed

capsule content - unfriendly message when removing an environment from the capsule

Added by Brad Buckingham about 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

If a user attempts to remove a lifecycle environment from a capsule, they will be presented with an unfriendly message, if that environment is not currently associated with the capsule.

The following is an example using the CLI:

hammer> capsule content remove-lifecycle-environment --organization-id 1 --id 10 --environment-id 3
Could not remove the lifecycle environment from the capsule:
Couldn't find Katello::KTEnvironment with id=3 [WHERE "katello_capsule_lifecycle_environments"."capsule_id" = 10]

Actions

Also available in: Atom PDF