Bug #17067
CLI: --from-lifecycle-environment options are broken and don't appear do anything for content view promotions
Difficulty:
Triaged:
Description
Seems like the from_lifecycle_environment option doesn't actually do anything as this command succeeds:
hammer content-view version promote --id 9 --from-lifecycle-environment ENVTHATDOESNOTEXIST --to-lifecycle-environment Dev --organization-id 1
I can even run this without the option:
hammer content-view version promote --id 9 --to-lifecycle-environment Test --organization-id 1
History
#1
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/hammer-cli-katello/pull/462 added
#2
Updated by David Davis over 5 years ago
- Status changed from Ready For Testing to Rejected
Looks like the from-lifecycle-environment options are used to look up the content view version. Example:
hammer content-view version promote --content-view-id 2 --organization-id 1 --to-lifecycle-environment development --from-lifecycle-environment Library
#3
Updated by David Davis over 5 years ago
- Legacy Backlogs Release (now unused) set to 166