Bug #38170
closedhammer activation-key create false positive when passing in only --content-view
Description
Description of problem:
When you try to create AK using hammer CLI and you provide just CV to the creation command the AK is created without the error.
hammer activation-key create --name="testAK_1" --organization="testORG" --content-view="testCV"
Activation key created.
AK that is created by this does not have CV assigned which is correct behavior but the command should fail.
The same error should come up as when you try to create AK with just LCE provided to the command.
hammer activation-key create --name="testAK_1" --organization="testORG" --lifecycle-environment="testLCE"
Could not create the activation key: Environment ID and content view ID must be provided together
Updated by The Foreman Bot about 1 month ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/11293 added
Updated by Jeremy Lenz 30 days ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|571efcb9d623e2c686eb97856a6eec57f6f8469c.