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

Atto should not try to restore contents on guest forms (such as self registration)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.5, 3.1.1, 3.4.4, 3.5.1
    • Fix Version/s: 3.4.5, 3.5.2
    • Component/s: HTML Editor (Atto)
    • Labels:
    • Testing Instructions:
      Hide
      1. Log in as admin
      2. Go to Site Administration / Plugin / Manage Authentication
      3. Enable "Email based" option if it is disabled
      4. Enable "Email-based self-registration" option on Self registration
      5. Save changes
      6. Go to Site Administration / Users / user profile fields
      7. Choose "text area" on "Create a new profile field"
      8. In the short name field, enter test
      9. In the name field, enter test
      10. in the Display on signup page, select Yes
      11. Save changes
      12. Log out
      13. Go to log in
      14. Go to create new account
      15. Open Other Fields
      16. Verify you are logged out
      17. Verify you don't see a yellow message that says "Unfortunately the draft version could not be restored."
      Show
      Log in as admin Go to Site Administration / Plugin / Manage Authentication Enable "Email based" option if it is disabled Enable "Email-based self-registration" option on Self registration Save changes Go to Site Administration / Users / user profile fields Choose "text area" on "Create a new profile field" In the short name field, enter test In the name field, enter test in the Display on signup page, select Yes Save changes Log out Go to log in Go to create new account Open Other Fields Verify you are logged out Verify you don't see a yellow message that says "Unfortunately the draft version could not be restored."
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE
    • Pull from Repository:
    • Pull 3.5 Branch:
      MDL-55744-35_atto_should_not_autosave_on_not_loggedin_users
    • Pull Master Branch:
      MDL-55744-master_atto_should_not_autosave_on_not_loggedin_users

      Description

      Atto autosave should be automatically disabled on forms filled by guests.
      Typical example of such form is self-registration with textarea custom profile fields

      See error "Unfortunately the draft version could not be restored." on https://moodleassociation.org/login/signup.php

        Attachments

          Activity

            People

            • Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Sep/18

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 34 minutes
                34m