Actions
Bug #29310
closedcontent-view version promote uses deprecated `environment_id` parameter
Difficulty:
Triaged:
Yes
Description
[ INFO 2020-03-09T15:55:59 API] POST /katello/api/content_view_versions/2/promote [DEBUG 2020-03-09T15:55:59 API] Params: { "environment_id" => "3", "force" => nil } [DEBUG 2020-03-09T15:55:59 API] Headers: {} [DEBUG 2020-03-09T15:55:59 API] Using authenticator: HammerCLIForeman::Api::InteractiveBasicAuth [ERROR 2020-03-09T15:55:59 API] 400 Bad Request [DEBUG 2020-03-09T15:55:59 API] { "displayMessage" => "Could not find environments for promotion", "errors" => [ [0] "Could not find environments for promotion" ] }
This should be updated to use the new `environment_ids` array of values.
Updated by James Jeffers about 5 years ago
Note the command used was: hammer -d content-view version promote --organization-id 1 --to-lifecycle-environment-id 3 --id 2
Updated by Justin Sherrill about 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-katello|603cd84fef10113eef25d25847a4ad6b3ce8b6a3.
Actions