Closed Bug 1343215 Opened 8 years ago Closed 6 years ago

Restore draft functionality is broken

Categories

(developer.mozilla.org Graveyard :: Editing, defect)

All
Other
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: fs, Unassigned)

Details

(Keywords: in-triage, Whiteboard: [specification][type:bug])

What did you do? ================ Writing lots of docs like everyday. Accidentally closed a tab in which I was editing (a warning using the unbeforeunload event would have been nice). Clicked restore draft. What happened? ============== A draft of a document I have written weeks ago appeared. I looked out of the window and I asked myself why I deserved this. It rains a lot here – also in that moment. What should have happened? ========================== The document I was working on 5 minutes ago should have appeared. I would be a happy MDN editor. Is there anything else we should know? ====================================== document_save=true annoys me, too.
Severity: normal → major
Keywords: in-triage
wbamberg reports that draft saving has been broken for him as well, but he didn't file a bug. I tried editing a page (https://developer.mozilla.org/en-US/docs/user:jwhitlock). I could see the draft and draft time saved in local storage. I navigated away, came back, restored the draft, and it worked. Tested in: - Safari 10.0.3 (developer tools, "Storage", to see local storage) - Chrome 56.0 (developer tools, "Application", to see local storage) - Firefox 51.0.1 (developer tools, "Storage" to see local storage) More data is needed (URLs, browsers, edit vs new vs translation) to figure out replication steps. ?document_save=true is tracked in bug 1298399
In the triage meeting, Kadir offered to help with steps to reproduce. I will keep my eyes open as well and for the moment I have the suspicion that this happens when creating new documents (not when editing).
Heads up: we will be disabling the drafts feature on new pages until it can be properly fixed. As discussed here: https://groups.google.com/forum/?fromgroups#!topic/mozilla.dev.mdc/Jxxj3RvRsYA
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.