Actions
Bug #38170
openhammer activation-key create false positive when passing in only --content-view
Status:
Ready For Testing
Priority:
Normal
Assignee:
Category:
Activation Key
Target version:
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
Actions