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

Expected completion dates should not be earlier than quiz opening date or later than quiz closing date

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 3.5, 3.6
    • Fix Version/s: None
    • Component/s: Activity completion, Quiz
    • Labels:
      None
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE

      Description

      CASE A:

      1. Make new quiz, in the Timing section set the Open the quiz date and time.
      2. In Activity completion activate "Expect completed on" and give it a date earlier than the Open the quiz date.
      3. Save the quiz.

      CASE B:

      1. Set Close the quiz date in the quiz
      2. In Activity completion activate "Expect completed on" and give it a date later than the Close the quiz date.
      3. Save the quiz.

      PROBLEM: Quiz should not allow Teacher to save it, but display an alert demanding that the Expected completion date be changed to one that is later than the Open the quiz date and earlier or identical to the End the quiz date.

      PS. I know date date overrides are possible, but allowing a user earlier access than the default is probably unrealistic, so CASE A especially looks buggy, as illustrated below:

      Both cases should be strictly controlled if User is allowed to manually tick the Activity completion box.

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            pmk Przemek Kaszubski
            Participants:
            Component watchers:
            Sam Marshall, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: