Project

General

Profile

Actions

Bug #17067

closed

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

Added by David Davis almost 8 years ago. Updated about 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
Triaged:
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
Actions #1

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/462 added
Actions #2

Updated by David Davis almost 8 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
Actions #3

Updated by David Davis almost 8 years ago

  • Translation missing: en.field_release set to 166
Actions

Also available in: Atom PDF