Summary of The Bug

      When users deleting a page on Confluence, the draft won't be deleted with it at the same time. This cause a WARN stack trace on the log whenever a user editing another page which saved into a draft.

      Here is the stack trace written on the logs:

      2012-12-19 23:44:56,278 WARN [http-8090-4] [confluence.pages.actions.AbstractCreateAndEditPageAction] getCancelResult Removing invalid draft: Draft = { id: 851971, type: page, title: X, pageId: 851970}, for user : EmbeddedCrowdUser{name='admin', displayName='Septa Cahyadiputra', directoryId=294913} 
       -- url: /pages/doeditpage.action | userName: admin | referer: http://localhost:8090/pages/editpage.action?pageId=524292
      com.atlassian.confluence.core.service.NotValidException: Page not found with id 851970

      How to Replicate The Issue

      1. Add a new page then save it
      2. Edit the newly created page, wait until a draft was saved, then cancel editing
      3. A draft version of the page is listed in "username drop down option" >> Drafts
      4. Remove the page
      5. Purge it from trash
      6. Draft version of the page is still listed in "username drop down option" >> Drafts
      7. Edit any other page, wait until a draft was saved, then cancel editing
      8. atlassian-confluence.log will record the previously mentioned stack trace

      Noted

      Please note that the stack trace is a WARN message that does not affect Confluence usage as the draft of the new page is still saved

      Workaround

      There is a workaround detailed in this KB article. It involved finding and removing the orphans from the database.

            [CONFSERVER-27594] Deleting a Page does not Delete its Draft

            Please fix this in the 6.13.x Enterprise release also. We are constantly getting comments from our end users regarding this.

            Thanks!

            Rick Carini added a comment - Please fix this in the 6.13.x Enterprise release also. We are constantly getting comments from our end users regarding this. Thanks!

            A fix for this issue is available to Server and Data Center customers in Confluence 6.15.4.

            Upgrade now or check out the Confluence 6.15 Release Notes to see what other issues are resolved.

            Maxim Leizerovich added a comment - A fix for this issue is available to Server and Data Center customers in Confluence 6.15.4. Upgrade now or check out the Confluence 6.15 Release Notes to see what other issues are resolved.

            Confluence 6.15.3 introduced an issue that meant some SVG icons, including all emoticons, don't display correctly in Confluence. To prevent more people being affected by this issue we decided to withdraw the release. Confluence 6.15.4 will be available soon with a fix for this draft issue.

            Rachel Robins added a comment - Confluence 6.15.3 introduced an issue that meant some SVG icons, including all emoticons, don't display correctly in Confluence. To prevent more people being affected by this issue we decided to withdraw the release. Confluence 6.15.4 will be available soon with a fix for this draft issue.

            A fix for this issue is available to Server and Data Center customers in Confluence 6.15.3
            Upgrade now or check out the Confluence 6.15 Release Notes to see what other issues are resolved.

            Maxim Leizerovich added a comment - A fix for this issue is available to Server and Data Center customers in Confluence 6.15.3 Upgrade now or check out the Confluence 6.15 Release Notes to see what other issues are resolved.

            Is this bug going to be fixed?

            Rafal Gardas added a comment - Is this bug going to be fixed?

            Related with this KB: Removing Orphaned Draft

            Bernd Lindner added a comment - Related with this KB: Removing Orphaned Draft

            Hanis Suhailah (Inactive) added a comment - Related with this KB: https://confluence.atlassian.com/display/CONFKB/Creating+and+copying+a+page+failed

              oshen@atlassian.com Oliver Shen
              scahyadiputra Septa Cahyadiputra (Inactive)
              Affected customers:
              53 This affects my team
              Watchers:
              51 Start watching this issue

                Created:
                Updated:
                Resolved: