Actions
Bug #7998
closedBad foreign key on docker_tags image relationship causes destroy to fail
Description
Trying to call tag.destroy fails with the following error:
ActiveRecord::StatementInvalid: Mysql2::Error: Cannot delete or update a parent row: a foreign key constraint fails (`foreman`.`containers`, CONSTRAINT `containers_docker_tag_id_fk` FOREIGN KEY (`docker_tag_id`) REFERENCES `docker_tags` (`id`)): DELETE FROM `docker_tags` WHERE `docker_tags`.`id` = 6
Updated by The Foreman Bot about 10 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-docker/pull/23 added
- Pull request deleted (
)
Updated by Daniel Lobato Garcia about 10 years ago
- Status changed from Ready For Testing to Rejected
Actions