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

Inconsistent calendar information shown across different views

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.4
    • Component/s: Calendar
    • Labels:
    • Testing Instructions:
      Hide

      Notes

      The majority of the actual testing is already done in unit test.
      These tests are looking for two things:

      1. regressions in the previous behaviour; and
      2. consistency between different views of the same information.

      Following setup, most of the testing is very similar and easy.

      Preparation

      1. Run the generator (https://github.com/andrewnicols/moodle-datagenerator)
      2. Log in as admin
      3. View the calendar
      4. Create a number of site events, including at least one in the next few days
      5. Open the Site home
      6. Ensure that both the Calendar, and Upcoming Events block are on the Site Home page.
      7. Visit CHEM101
      8. View each parent course category (Chemistry, FST, 2017-18, etc.) and add both the calendar and upcoming blocks
      9. Create category events
      10. Log off

      Testing

      Test as guest

      1. View the Site home without logging in
        1. Confirm that you can see all of the Site Events that you created in the calendar block
        2. Confirm that you can see all of the upcoming Site Events in the upcoming block
      2. Take a note of which events show in the upcoming block
      3. In the Upcoming block, click the "Go to calendar..." link
      4. Log in as guest
        1. Confirm that you can see the same events as in the upcoming block
      5. Go back, and click on the current month name
        1. Confirm that you can see the same events as in the calendar month block
      6. If MDL-60608 has landed, attempt to change month with the month nav links (back and then forward for example)
        1. Confirm that the correct events are shown
      7. Click on the number of a day to enter day view
        1. Confirm that you can see the same events as in the calendar for that day
      8. If MDL-60608 has landed, attempt to change day (back and then forward for example)
        1. Confirm that the correct events are shown

      Test as teacher in a course

      1. Log in as 'hannah' (a teacher in CHEM101, and CHEM102)
      2. View your Calendar
        1. Confirm that you can see the site events
        2. Confirm that you do not see any events for Physics
        3. Confirm that you do not see any events for the Faculty of Arts and Social Sciences
        4. Confirm that you do not see any events for any student societies
      3. Create some user events
        1. Confirm that you can see these events too
      4. Switch months using the calendar nav
        1. Confirm that the correct events load
      5. Click on a day link to view that day
        1. Confirm that you can see these events too
      6. Switch day using the calendar nav
        1. Confirm that the correct events load
      7. Turn editing on and add the Upcoming events block
        1. Confirm that your upcoming events are shown
      8. Navigate to CHEM101
      9. Create a quiz with due dates
      10. Create some manual events in the course
      11. Navigate to CHEM102
      12. Create a quiz with due dates
      13. Create some manual events in the course
      14. Add both the Calendar, and Upcoming Events blocks to the page
        1. Confirm that all of the events from the first set of confirmations are visible
        2. Confirm that all of the events for CHEM102 are visible
        3. Confirm that none of the events for CHEM101 are visible
      15. In the Upcoming block, click the "Go to calendar..." link
        1. Confirm that you can see the same events as in the upcoming block
      16. Go back, and click on the current month name
        1. Confirm that you can see the same events as in the calendar month block
      17. Change month with the month nav links (back and then forward for example)
        1. Confirm that the correct events are shown
      18. Click on the number of a day to enter day view
        1. Confirm that you can see the same events as in the calendar for that day
      19. Change day (back and then forward for example)
        1. Confirm that the correct events are shown
      20. Follow the link for the Chemistry category
        1. Confirm that you can see all events for both CHEM101, and CHEM102, and all other Chemistry, FST, 2017-18 categories, and Site events
        2. Confirm that you still can't see Physics events
      21. Repeat checks with upcoming + month blocks
      22. Follow the link for the Chemistry category
        1. Confirm that you can see all events for both CHEM101, and CHEM102, and all other Chemistry, FST, 2017-18 categories, and Site events
        2. Confirm that you still can't see Physics events
      23. Repeat checks with upcoming + month blocks
      24. Repeat for each FST + 2017-18 parent categories
      Show
      Notes The majority of the actual testing is already done in unit test. These tests are looking for two things: regressions in the previous behaviour; and consistency between different views of the same information. Following setup, most of the testing is very similar and easy. Preparation Run the generator ( https://github.com/andrewnicols/moodle-datagenerator ) Log in as admin View the calendar Create a number of site events, including at least one in the next few days Open the Site home Ensure that both the Calendar, and Upcoming Events block are on the Site Home page. Visit CHEM101 View each parent course category (Chemistry, FST, 2017-18, etc.) and add both the calendar and upcoming blocks Create category events Log off Testing Test as guest View the Site home without logging in Confirm that you can see all of the Site Events that you created in the calendar block Confirm that you can see all of the upcoming Site Events in the upcoming block Take a note of which events show in the upcoming block In the Upcoming block, click the " Go to calendar... " link Log in as guest Confirm that you can see the same events as in the upcoming block Go back, and click on the current month name Confirm that you can see the same events as in the calendar month block If MDL-60608 has landed, attempt to change month with the month nav links (back and then forward for example) Confirm that the correct events are shown Click on the number of a day to enter day view Confirm that you can see the same events as in the calendar for that day If MDL-60608 has landed, attempt to change day (back and then forward for example) Confirm that the correct events are shown Test as teacher in a course Log in as ' hannah ' (a teacher in CHEM101, and CHEM102) View your Calendar Confirm that you can see the site events Confirm that you do not see any events for Physics Confirm that you do not see any events for the Faculty of Arts and Social Sciences Confirm that you do not see any events for any student societies Create some user events Confirm that you can see these events too Switch months using the calendar nav Confirm that the correct events load Click on a day link to view that day Confirm that you can see these events too Switch day using the calendar nav Confirm that the correct events load Turn editing on and add the Upcoming events block Confirm that your upcoming events are shown Navigate to CHEM101 Create a quiz with due dates Create some manual events in the course Navigate to CHEM102 Create a quiz with due dates Create some manual events in the course Add both the Calendar, and Upcoming Events blocks to the page Confirm that all of the events from the first set of confirmations are visible Confirm that all of the events for CHEM102 are visible Confirm that none of the events for CHEM101 are visible In the Upcoming block, click the " Go to calendar... " link Confirm that you can see the same events as in the upcoming block Go back, and click on the current month name Confirm that you can see the same events as in the calendar month block Change month with the month nav links (back and then forward for example) Confirm that the correct events are shown Click on the number of a day to enter day view Confirm that you can see the same events as in the calendar for that day Change day (back and then forward for example) Confirm that the correct events are shown Follow the link for the Chemistry category Confirm that you can see all events for both CHEM101, and CHEM102, and all other Chemistry, FST, 2017-18 categories, and Site events Confirm that you still can't see Physics events Repeat checks with upcoming + month blocks Follow the link for the Chemistry category Confirm that you can see all events for both CHEM101, and CHEM102, and all other Chemistry, FST, 2017-18 categories, and Site events Confirm that you still can't see Physics events Repeat checks with upcoming + month blocks Repeat for each FST + 2017-18 parent categories
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull Master Branch:
      MDL-60587-master-4

      Description

      We currently aren't showing the catetory events when within a course.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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