Edit an inline comment on a draft prevents the draft deletion

XMLWordPrintable

    • 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

      1. Create a draft page
      1. Make an inline comment, and edit
      1. 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

            Assignee:
            Unassigned
            Reporter:
            Luis Pellacani [Atlassian Support]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: