Project

General

Profile

Bug #17067

CLI: --from-lifecycle-environment options are broken and don't appear do anything for content view promotions

Added by David Davis almost 3 years ago. Updated about 1 year ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

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 almost 3 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 almost 3 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 almost 3 years ago

  • Legacy Backlogs Release (now unused) set to 166

Also available in: Atom PDF