Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-47733

atto auto-save fails on ever empty form

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 2.8
    • Component/s: HTML Editor (Atto)
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a new blog entry
      2. Click the cancel button
      3. Go back to the page to create a new blog entry
      4. Open your JS console
      5. Refresh the page
      6. Make sure the editor does not prompt you with an error that a draft could not be restored
      7. Check the console log as well
      8. Type some text in the editor
      9. Wait for it to be saved
      10. Refresh the page
      11. Make sure the content is restored
      12. Click cancel
      13. Go back to the page
      14. Make sure nothing is restored and you don't see any error
      Show
      Create a new blog entry Click the cancel button Go back to the page to create a new blog entry Open your JS console Refresh the page Make sure the editor does not prompt you with an error that a draft could not be restored Check the console log as well Type some text in the editor Wait for it to be saved Refresh the page Make sure the content is restored Click cancel Go back to the page Make sure nothing is restored and you don't see any error
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-47733-master

      Description

      Steps to reproduce:

      1. Go to a form you haven't seen before with an editor

      Expected result:
      No autosaving recovery because no draft saved

      Actual results
      Atto immediately reports that the an error occured recovering draft text

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fred Frédéric Massart
              Reporter:
              poltawski Dan Poltawski
              Peer reviewer:
              Eloy Lafuente (stronk7)
              Integrator:
              Dan Poltawski
              Tester:
              Dan Poltawski
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Nov/14