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

Imported Google Calendar okay until first polled-update then all repeated events are deleted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.2.2, 4.2.3
    • Calendar
    • MOODLE_402_STABLE

      In Moodle if one imports a calendar (e.g., site-wide) from a URL (e.g., from Google) it first populates correctly. When that calendar refreshes, all repeated events disappear from the calendar. If one then manually deletes the calendar import everything reappears --but upon the first refresh, all repeated events are deleted.

      The following can be done to recreate such:

      1. In Moodle, log in as an admin and open the site Calendar.
      2. Click on "Import or export calendars". (This will take you to $SITE/calendar/managessubscriptions.php .)
      3. Click the "Import calendar" button.
      4. Type in a calendar name.
      5. Choose Site for type of event. (But this doesn't matter --the bug is the same.)
      6. Choose Weekly for refresh interval. (Again this doesn't matter --the bug is the same.)
      7. Provide a calendar URL, e.g., https://www.google.com/calendar/ical/a71ndbga760lr1fand0tpph3fs%40group.calendar.google.com/public/basic.ics
      8. Click "Import calendar". (If you view the calendar you will see that it matches what is at https://www.sharcnet.ca/my/news/calendar .)
      9. Change the imported calendar subscription (e.g., to force a refresh). When this is one, you will notice some >1400 events are deleted and if the calendar is viewed, it appears as the repeated entries have all been deleted.

      This renders the Calendar import feature effectively useless for Google URLs since it only works the first time and not afterwards.

      ASIDE; Other Moodle versions than the latest may well be affected by this.

      Is there a way to fix / work-around this? Or is this a genuine bug?

            Unassigned Unassigned
            preney Paul Preney
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.