-
Bug
-
Resolution: Fixed
-
Minor
-
2.8
-
MOODLE_28_STABLE
-
MOODLE_28_STABLE
-
MDL-47736_master -
This happens in more realistic scenarios than the one i'm giving here, but this is one way to reproduce it:
- Go atto settings and turn autosave setting to save every 5 seconds
- Go to My profile / ▶ Blogs / ▶ Add a new entry
- Clear the text, wait 5 seconds for it to be saved
- Leave the page
- Go back to the page
Expected results:
Nothing restored because text was empty
Actual result:
Atto says 'draft version was restored'. User wonders what happened to their draft because its blank
No doubt the text is probably not empty, but has empty <p> or something. But it would be best if we didn't confuse the user.
- Discovered while testing
-
MDL-47733 atto auto-save fails on ever empty form
-
- Closed
-