-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Low
-
Component/s: Page - Inline Comments
-
None
-
Severity 3 - Minor
Issue Summary
Drafts are unable to be deleted after an inline comment is made and edited. The mutation DeleteDraftMutationForRevertDialog throws an error:
com.atlassian.event.internal.ImportCsvAndDeletionSqlKeyConstraintException: PSQLException: ERROR: update or delete on table \"content\" violates foreign key constraint \"fkk6kbb7suqeloj82nx7xdcd803\" on table \"content\"
Steps to Reproduce
- Create a draft page
- Make an inline comment, and edit
- Delete the draft
Expected Results
The draft is deleted successfully
Actual Results
The operation hangs forever, and it's possible to see the error message on DevTools:
com.atlassian.event.internal.ImportCsvAndDeletionSqlKeyConstraintException: PSQLException: ERROR: update or delete on table \"content\" violates foreign key constraint \"fkk6kbb7suqeloj82nx7xdcd803\" on table \"content\"
Workaround
Contact Atlassian Support to verify the backend error and fix the constraint