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

Creating an event resets the calendar course filter back to "All courses"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4
    • Component/s: Calendar
    • Labels:
    • Testing Instructions:
      Hide
      Prerequisite
      1. Create two courses.
      2. Enrol the administrator as a student in all of them.
      3. Add two calendar events, one for each course, and make them on the same day.
      Test 1
      1. Go to the dashboard and follow the link on the calendar block to view the month.
      2. Select a course from "Detailed month view for:" select box.
      3. Add a new event (It should be all set up using the current course).
      4. Ensure the course selected in the filter has not changed once the page has 'reloaded' the contents.
      Test 2
      1. Go to the dashboard and follow the link on the calendar block to view the month.
      2. Click on the link for the day (the number of the day in the month) that has both courses' events.
      3. Filter to one of the courses and confirm only its events are shown.
      4. Create an event and ensure it automatically selects the course you filtered by.
      5. Ensure the course selected in the filter has not changed once the page has 'reloaded' the contents.
      Test 3
      1. Go to your dashboard.
      2. Customise the page and add the 'Upcoming events' block.
      3. In the block click on the 'Go to calendar...' link.
      4. Filter to one of the courses and confirm only its events are shown.
      5. Create an event and ensure it automatically selects it as a course event for the selected course.
      6. Ensure the course selected in the filter has not changed once the page has 'reloaded' the contents.
      Show
      Prerequisite Create two courses. Enrol the administrator as a student in all of them. Add two calendar events, one for each course, and make them on the same day. Test 1 Go to the dashboard and follow the link on the calendar block to view the month. Select a course from "Detailed month view for:" select box. Add a new event (It should be all set up using the current course). Ensure the course selected in the filter has not changed once the page has 'reloaded' the contents. Test 2 Go to the dashboard and follow the link on the calendar block to view the month. Click on the link for the day (the number of the day in the month) that has both courses' events. Filter to one of the courses and confirm only its events are shown. Create an event and ensure it automatically selects the course you filtered by. Ensure the course selected in the filter has not changed once the page has 'reloaded' the contents. Test 3 Go to your dashboard. Customise the page and add the 'Upcoming events' block. In the block click on the 'Go to calendar...' link. Filter to one of the courses and confirm only its events are shown. Create an event and ensure it automatically selects it as a course event for the selected course. Ensure the course selected in the filter has not changed once the page has 'reloaded' the contents.
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-60422_master

      Description

      Steps to replicate:

      1. Have or create a couple of courses.
      2. Enrol the administrator as a student in all of them.
      3. Go to the dashboard and follow the link on the calendar block to view the month.
      4. Select a course from "Detailed month view for:"
      5. Add a new event (It should be all set up for a course event).
      6. The filter should still be applied to the events on the calendar, but the select box now shows as "All courses".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              markn Mark Nelson
              Reporter:
              abgreeve Adrian Greeve
              Peer reviewer:
              Sara Arjona (@sarjona)
              Integrator:
              David Monllaó
              Tester:
              Mihail Geshoski
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Nov/17