Project

General

Profile

Actions

Bug #25310

open

Unable to version content view: Validation failed: Name has already been taken

Added by Daniel Kimsey about 6 years ago. Updated about 6 years ago.

Status:
New
Priority:
Normal
Category:
Content Views
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

stacktrace.txt stacktrace.txt 45.7 KB stacktrace from logs Daniel Kimsey, 10/25/2018 04:56 PM
Screen Shot 2018-10-25 at 11.56.31.png View Screen Shot 2018-10-25 at 11.56.31.png 77.1 KB error screen on ui Daniel Kimsey, 10/25/2018 04:56 PM
Actions

Also available in: Atom PDF