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

Database activity: Missing validation for start / end dates

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      1. Create a database activity
      2. Set the available from (open) date to a future date
      3. Set the available to (until) date to today.
      4. Set the read only from (open) date to a future date
      5. Set the read only to (until) date to today.
      6. Verify that you get a validation error on save.

      Show
      1. Create a database activity 2. Set the available from (open) date to a future date 3. Set the available to (until) date to today. 4. Set the read only from (open) date to a future date 5. Set the read only to (until) date to today. 6. Verify that you get a validation error on save.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Pull Master Branch:
      MDL-54910_m32v2

      Description

      It is possible to create a database activity where the ending date is before the starting date

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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