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

calendar incomplete ($limitnum = 40)

    XMLWordPrintable

Details

    • MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • MOODLE_36_STABLE, MOODLE_37_STABLE
    • MDL-59650-master
    • Hide
      1. Download attached create_events.php and save it to your root folder.
      2. Execute the script in a terminal php create_events.php
      3. Log in as admin and go to Calendar.
      4. Open Developer console
      5. Count the events displayed:

        $('[data-region="event-item"]').length
        

        1. Confirm that there are more than 200 shown*
      6. Click Export calendar button.
      7. Click All events and This month.
      8. Click Export
      9. Open the generated .ICS file in a text editor.
      10. Make sure it export more than 40 events (You can do a Ctrl + F and search for SUMMARY and your text editor will give the number of occurrences)
      11. Go back to the month view and make sure it displays more than 200 events.
      Show
      Download attached create_events.php and save it to your root folder. Execute the script in a terminal php create_events.php Log in as admin and go to Calendar. Open Developer console Count the events displayed: $('[data-region="event-item"]').length Confirm that there are more than 200 shown * Click Export calendar button. Click All events and This month . Click Export Open the generated .ICS file in a text editor. Make sure it export more than 40 events (You can do a Ctrl + F and search for SUMMARY and your text editor will give the number of occurrences) Go back to the month view and make sure it displays more than 200 events.

    Description

      Since upgrading from Moodle 3.1 to 3.3 the calendar seems broken:

      The monthly view of the calendar don't show new course events.

      The export_execute.php URL shows even fewer events.
      Double checked with curl | grep = no results for the 20.9.2017
      within the preset_time=recentupcoming (+/-60 days)
      and the preset_time=custom (-30/+365 days
      ).

       

      Attachments

        1. create_events.php
          2 kB
        2. export_execute.php.png
          export_execute.php.png
          40 kB
        3. monthlyview.png
          monthlyview.png
          144 kB
        4. moodle monthly calendar.png
          moodle monthly calendar.png
          29 kB

        Issue Links

          Activity

            People

              Votes:
              60 Vote for this issue
              Watchers:
              56 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8/Jul/19

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days, 2 hours
                  3d 2h