Actions
Bug #37822
closedCreating a repository with duplicate name fails with confusing error
Description
When creating a repo that has an existing name, there is a new confusing error about root_id being nil:
PG::NotNullViolation: ERROR: null value in column "root_id" of relation "katello_repositories" violates not-null constraint DETAIL: Failing row contains (68, 0bb66c3a-bd33-4ae0-9ab0-9c485efa57bd, null, 1, Default_Organization/Library/custom/Buttermilk_Pancakes/Zoo, 1, null, null, null, null, null, null, null, null, null, null, null, 1970-01-01 00:00:00, 1970-01-01 00:00:00, 1970-01-01 00:00:00).
This is likely a side effect of https://github.com/Katello/katello/pull/11129
Instead, the error about duplicate name should pop up.
Updated by The Foreman Bot 3 months ago
- Status changed from New to Ready For Testing
- Assignee set to Samir Jha
- Pull request https://github.com/Katello/katello/pull/11145 added
Updated by Samir Jha 3 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|9456160c9f8d4ec055664cfcfb8a945a0df34a4d.
Updated by The Foreman Bot about 2 months ago
- Pull request https://github.com/Katello/katello/pull/11203 added
Updated by Chris Roberts about 2 months ago
- Pull request deleted (
https://github.com/Katello/katello/pull/11203)
Actions