-
Bug
-
Resolution: Fixed
-
Medium
-
4.3
-
20
-
Severity 3 - Minor
-
45
-
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
- Add a new page then save it
- Edit the newly created page, wait until a draft was saved, then cancel editing
- A draft version of the page is listed in "username drop down option" >> Drafts
- Remove the page
- Purge it from trash
- Draft version of the page is still listed in "username drop down option" >> Drafts
- Edit any other page, wait until a draft was saved, then cancel editing
- 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.
- causes
-
CONFSERVER-27108 Drafts are not accessible after a Space export/import
-
- Closed
-
- is related to
-
CONFSERVER-34552 Copy page creating draft and attachment folder taking storage space
-
- Closed
-
- relates to
-
CONFSERVER-30409 Clean up drafts and their attachments after a configurable period of time
- Closed
- mentioned in
-
Page No Confluence page found with the given URL.
-
Page No Confluence page found with the given URL.
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
[CONFSERVER-27594] Deleting a Page does not Delete its Draft
Remote Link | Original: This issue links to "Wiki Page (Atlassian Documentation - Confluence)" [ 30835 ] |
Remote Link | New: This issue links to "Page (Confluence)" [ 468623 ] |
Fix Version/s | New: 6.15.4 [ 86397 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Waiting for Release [ 12075 ] | New: Closed [ 6 ] |
UIS | Original: 38 | New: 45 |
UIS | Original: 40 | New: 38 |
UIS | Original: 2 | New: 40 |
Labels | Original: affects-server pse-request | New: affects-server pse-request tn-m |
QA Demo Status | New: Done [ 14331 ] |
Status | Original: Awaiting Merge [ 10064 ] | New: Waiting for Release [ 12075 ] |