Actions
Bug #25310
openUnable to version content view: Validation failed: Name has already been taken
Description
In Katello 3.8 I am unable to create new versions of my content view. I do not know if this extends to other content views.
This content view is published in almost all of our Lifecycles as v150.0. I was attempting to publish a new version to include a recently update Puppet module. The puppet modules are a collection of "latest" and version pinned modules.
From the content view page, I selected the publish new version button and hit submit.
2018-10-25T11:45:34 [I|app|6ac7d] Processing by Katello::Api::V2::ContentViewsController#publish as JSON 2018-10-25T11:45:34 [I|app|6ac7d] Parameters: {"id"=>"13", "description"=>"Update admins-1.2.0", "organization_id"=>"1", "api_version"=>"v2", "content_view"=>{"id"=>"13", "description"=>"Update admins-1.2.0"}} 2018-10-25T11:45:34 [I|app|6ac7d] Current user set to dkimsey (admin) 2018-10-25T11:45:34 [I|aud|6ac7d] create event for Katello::ContentViewVersion with id 501 2018-10-25T11:45:35 [I|aud|6ac7d] update event for Katello::ContentViewEnvironment with id 57 2018-10-25T11:45:35 [I|app|6ac7d] Current user set to dkimsey (admin) 2018-10-25T11:45:35 [I|kat|6ac7d] GET: https://katello.trustwave.com/pulp/api/v2/users/: {"content_type"=>"application/json", "accept"=>"application/json"} 2018-10-25T11:45:35 [I|app|6ac7d] Current user set to dkimsey (admin) 2018-10-25T11:45:35 [E|bac|6ac7d] Validation failed: Name has already been taken (ActiveRecord::RecordInvalid) <stacktrace> 2018-10-25T11:45:35 [E|bac|6ac7d] Validation failed: Name has already been taken (ActiveRecord::RecordInvalid) 2018-10-25T11:45:35 [E|app|6ac7d] <Class> ActiveRecord::RecordInvalid 2018-10-25T11:45:35 [E|app|6ac7d] name: ["has already been taken"] 2018-10-25T11:45:35 [I|app|6ac7d] Completed 422 Unprocessable Entity in 866ms (Views: 0.3ms | ActiveRecord: 192.7ms)
Files
Actions