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

Choice Activity: restrict answering to the time period

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_26_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-32135_m32v2
    • Difficulty:
      Easy
    • Testing Instructions:
      Hide

      1. Create a choice activity
      2. Set the start (open) date to a future date
      3. Set the close (until) date to today.
      4. Verify that you get a validation error on save.

      Show
      1. Create a choice activity 2. Set the start (open) date to a future date 3. Set the close (until) date to today. 4. Verify that you get a validation error on save.

      Description

      In the choice activity it is possible to set the date under "Restrict answering to this time period" so that the open date is after the closing date ("until"). Of course it's obvious that this shouldn't be, but it would be good if the system caught this and prevented someone from doing that.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sbourget Stephen Bourget
              Reporter:
              hagelberg Gus Hagelberg
              Peer reviewer:
              Jun Pataleta Jun Pataleta
              Integrator:
              Dan Poltawski Dan Poltawski
              Tester:
              Damyon Wiese Damyon Wiese
              Participants:
              Component watchers:
              Dan Marsden, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

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