Actions
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)```
Actions