Actions
Bug #11784
closedHammer content-view remove-version does not work
Description
Trying to remove a content-view version by version number fails with error message "content_view_version found more than once"
hammer content-view remove-version --name <content-view-name> --organization-id 1 --content-view-version <version-number>
Attempting to use Version IDs appears to work, returning with message "The component version has been removed" and creating a task to update the content view (Actions::Katello::ContentView::Update). The task completes without error, but the version still appears in the Katello UI and when using Hammer content-view info
hammer content-view remove-version --name <content-view-name> --organization-id 1 --content-view-version-id <version-id>
Task raw input:
{"content_view"=>{"id"=>104, "name"=>"xxxxx-cv", "label"=>"xxxxx-cv"}, "organization"=>{"id"=>1, "name"=>"xxxxxxxx", "label"=>"xxxxxxxx"}, "locale"=>"en"}
We are using Katello 2.3
Actions