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

ATTO Editor Draft Text Not Restored In Online Text Assignment

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.9.6, 3.0, 3.0.4
    • Fix Version/s: 3.0.5
    • Component/s: Assignment
    • Testing Instructions:
      Hide

      Pre-testing

      It's probably easiest for this test if you set the auto save frequency to something lower than the default 1 minute. I've used 10 seconds in my testing.
      Can set it here:
      site administration > plugins > text editors > atto html editor > atto toolbar settings
      The setting is right at the bottom

      Online text auto save

      1. Log in as admin
      2. Create a course
      3. Create an assignment activity and enable online text (under "Submission types" section)
      4. Enrol a few students in the course
      5. Log in a one of the students
      6. Navigate to the assignment activity and click "Add submission"
      7. Enter some text into the "Online text" section and wait a few seconds (what ever timeout you set) for the auto save to occur (it'll popup with "Draft saved" once it's happened)
      8. Click on the assignment resource in the nav tree to navigate away from this page without saving. Click yes when you're prompted about leaving with unsaved changes.
      9. Click the "Add submission" button again
      10. Confirm that the text you entered above was automatically restored in the "Online text" section
      Show
      Pre-testing It's probably easiest for this test if you set the auto save frequency to something lower than the default 1 minute. I've used 10 seconds in my testing. Can set it here: site administration > plugins > text editors > atto html editor > atto toolbar settings The setting is right at the bottom Online text auto save Log in as admin Create a course Create an assignment activity and enable online text (under "Submission types" section) Enrol a few students in the course Log in a one of the students Navigate to the assignment activity and click "Add submission" Enter some text into the "Online text" section and wait a few seconds (what ever timeout you set) for the auto save to occur (it'll popup with "Draft saved" once it's happened) Click on the assignment resource in the nav tree to navigate away from this page without saving . Click yes when you're prompted about leaving with unsaved changes. Click the "Add submission" button again Confirm that the text you entered above was automatically restored in the "Online text" section
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE
    • Pull Master Branch:
      MDL-52506-master

      Description

      Log in as a student and access an online text type assignment. Click the Add Submission button and type a few words then stop. After you see the message "Draft saved" leave the page, ignore the warning, then go back and access the assignment again. You should see your text with the message "A draft version of this text was automatically restored" but the message and the text does not show up.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ryanwyllie Ryan Wyllie
              Reporter:
              alrachels AL Rachels
              Peer reviewer:
              David Monllaó
              Integrator:
              Andrew Nicols
              Tester:
              Jake Dallimore
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Jul/16