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 almost 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 Jonathon Turel almost 5 years ago
- Target version set to Katello 3.16.0
- Triaged changed from No to Yes
Updated by Ewoud Kohl van Wijngaarden almost 5 years ago
- Description updated (diff)
Updated by The Foreman Bot almost 5 years ago
- Status changed from New to Ready For Testing
- Assignee set to Justin Sherrill
- Pull request https://github.com/Katello/hammer-cli-katello/pull/727 added
Updated by Justin Sherrill almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-katello|603cd84fef10113eef25d25847a4ad6b3ce8b6a3.
Actions