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

Drag and drop of course events ignores course start date limitation

    XMLWordPrintable

Details

    • MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • MDL-62960-master
    • 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

    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

              rezaie9 Shamim Rezaie
              dobedobedoh Andrew Lyons
              Adrian Greeve Adrian Greeve
              Damyon Wiese Damyon Wiese
              Damyon Wiese Damyon Wiese
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/Nov/18