Bug #27524
closedDocker Content View publishing fails with duplicate key value error
Description
When trying to publish a content view with a docker repo, the following error occurs and halts the publishing:
```PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_katello_docker_tags_on_pulp_id"
DETAIL: Key (pulp_id)=(40f85b7e-56b3-4206-bdc4-d66100184014) already exists.
: insert into katello_docker_tags (repository_id, pulp_id, name,docker_taggable_id,docker_taggable_type)
select 2 as repository_id, pulp_id, name,docker_taggable_id,docker_taggable_type from katello_docker_tags
where repository_id = 1 and pulp_id not in (select pulp_id
from katello_docker_tags where repository_id = 2)```
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/8259 added
Updated by The Foreman Bot over 5 years ago
- Fixed in Releases Katello 3.14.0 added
Updated by Ian Ballou over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|5d0a6d55184f4349e727dfc830cae735738f7517.