-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
None
trying to delete https://bookbrainz.org/edition/1262838a-3cbc-4f77-8dd8-5c057ed6288e/delete will just make the page spin indefinitely.
tested on beta and prod
Here is the error that is spit out in the console:
The salient part: 'revision_parent Key (parent_id, child_id)=(138484, 140958) already exists.'
× { error: insert into "bookbrainz"."revision_parent" ("child_id", "parent_id") values ($1, $2) - duplicate key value violates unique constraint "revision_parent_pkey" at Parser.parseErrorMessage (/home/bookbrainz/bookbrainz-site/node_modules/pg-protocol/dist/parser.js:287:98) at Parser.handlePacket (/home/bookbrainz/bookbrainz-site/node_modules/pg-protocol/dist/parser.js:126:29) at Parser.parse (/home/bookbrainz/bookbrainz-site/node_modules/pg-protocol/dist/parser.js:39:38) at Socket.<anonymous> (/home/bookbrainz/bookbrainz-site/node_modules/pg-protocol/dist/index.js:11:42) at Socket.emit (node:events:527:28) at addChunk (node:internal/streams/readable:315:12) at readableAddChunk (node:internal/streams/readable:289:9) at Socket.Readable.push (node:internal/streams/readable:228:10) at TCP.onStreamRead (node:internal/stream_base_commons:190:23) length: 244, severity: 'ERROR', code: '23505', detail: 'Key (parent_id, child_id)=(138484, 140958) already exists.', hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: 'bookbrainz', table: 'revision_parent', column: undefined, dataType: undefined, constraint: 'revision_parent_pkey', file: 'nbtinsert.c', line: '570', routine: '_bt_check_unique' }