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

Drag and drop of course events ignores course start date limitation

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create a course with a start date of 2 days ago
      2. Create a user and enrol them in the course as a Teacher
      3. Login as the teacher and go to the course
      4. View the calendar for the course
      5. Create a new "Course" event for today
      6. Open the event and edit it (Make sure that you are logged in as the teacher. You cannot test this step with the admin account. This is a known issue and is reported at MDL-63016):
        1. Change the event date to 10 days ago
        2. Confirm that you were unable to move the event to before the course start date
      7. Drag the event to 10 days ago
        1. Confirm that you were unable to move the event to before the course start date
        2. Confirm that when you drag the event to a date that is before the course start date, the date's colour becomes red
      Show
      Create a course with a start date of 2 days ago Create a user and enrol them in the course as a Teacher Login as the teacher and go to the course View the calendar for the course Create a new "Course" event for today Open the event and edit it (Make sure that you are logged in as the teacher. You cannot test this step with the admin account. This is a known issue and is reported at MDL-63016 ): Change the event date to 10 days ago Confirm that you were unable to move the event to before the course start date Drag the event to 10 days ago Confirm that you were unable to move the event to before the course start date Confirm that when you drag the event to a date that is before the course start date, the date's colour becomes red
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • Pull from Repository:
    • Pull 3.5 Branch:
    • Pull Master Branch:
      MDL-62960-master

      Description

      1. Create a course with a start date of 2 days ago and an end date in 2 days
      2. View the calendar for the course
      3. Create a new "Course" event for today
      4. Open the event and edit it:
        1. Change the event date to 10 days ago
          1. Confirm that you were unable to move the event to before the course start date
      5. Drag the event to 10 days ago
        1. ERROR: You successfully moved the event when you should not have been able to

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  12/Nov/18