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

Quiz time period setting should use admin_setting_configduration

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.2
    • Fix Version/s: 2.9
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide
      1. Go to Admin > Plugins > Activity modules > Quiz (> General settings if necessary.)
      2. Change all of the settings that now use the duration control
        • Time limit - 7 minutes
        • Submission grace period - 5 days
        • Last submission grace period - 57 seconds
        • Enforced delay between 1st and 2nd attempts - 37 minutes.
        • Enforced delay between later attempts - 0
        • Auto-save delay - 3 seconds.
      3. Read the name and description of all those settings, to verify that the words make sense now that the setting type has been changed.
      4. Save changes, and verify that the values have been saved correctly.
      5. Add a new quiz to a course. For the settings that appear on the form, verify that the defaults you set are used.
      6. Start a quiz attempt, open developer tools console in your browser. Change an answer, and verify that the auto-save happens a few seconds after your answer was change.
      Show
      Go to Admin > Plugins > Activity modules > Quiz (> General settings if necessary.) Change all of the settings that now use the duration control Time limit - 7 minutes Submission grace period - 5 days Last submission grace period - 57 seconds Enforced delay between 1st and 2nd attempts - 37 minutes. Enforced delay between later attempts - 0 Auto-save delay - 3 seconds. Read the name and description of all those settings, to verify that the words make sense now that the setting type has been changed. Save changes, and verify that the values have been saved correctly. Add a new quiz to a course. For the settings that appear on the form, verify that the defaults you set are used. Start a quiz attempt, open developer tools console in your browser. Change an answer, and verify that the auto-save happens a few seconds after your answer was change.
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Now that it is available, this is a better UI.

      To do this, I need to add a new admin_setting_configduration_with_advanced class.

      Also, while doing this, I will reduce the default quiz autos-save time from 2 minutes to 1 minute. That should be safe in terms of sever load, and much safer for students. Note this change will only really affect new installs.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/May/15