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

Moodle calendar is not able to import .ics files with repeated events anymore

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Login as any user
      2. Go to your calendar
      3. Click "Manage subscriptions"
      4. Fill the "Import calendar" form
      5. Click "Add"
      6. Make sure the output is:

        Events imported: 1

        Events updated: 0

      7. Make sure all events of the series of repeated events are added to the calendar as expected.
      Show
      Login as any user Go to your calendar Click "Manage subscriptions" Fill the "Import calendar" form Enter an arbitrary calendar name Set "Import from" to "Calendar file" Upload the attached .ics file CS6307.000_Introduction_to_Computer_Science_ for_Non-Computer_Scientists -2.ics Click "Add" Make sure the output is: Events imported: 1 Events updated: 0 Make sure all events of the series of repeated events are added to the calendar as expected.
    • Affected Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-66871-master-v2
    • Sprint:
      Internationals - 3.9 Sprint 1, International 3.9 - Sprint 3

      Description

      Steps to reproduce:

      Expected behaviour / Successful behaviour on Moodle 3.5:

      • The file is processed
      • A notice is presented:

        Events imported: 1

        Events updated: 0

      • All events of the series of repeated events are added to the calendar as expected.

      Actual behaviour on Moodle 3.6 / 3.7 / master:

      • The file is processed
      • A notice is presented:

        Events deleted: 17

        Events imported: 1

        Events skipped: 0

        Events updated: 0

      • Only the first event of the series of repeated events is added to the calendar.

      As this import has worked before at least on Moodle 3.5, I am marking this bug as regression, but I currently don't know what caused the regression.

        Attachments

          Activity

            People

            Assignee:
            lameze Simey Lameze
            Reporter:
            abias Alexander Bias
            Peer reviewer:
            Shamim Rezaie Shamim Rezaie
            Integrator:
            Andrew Lyons Andrew Lyons
            Tester:
            Anna Carissa Sadia Anna Carissa Sadia
            Participants:
            Component watchers:
            Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            1 Vote for this issue
            Watchers:
            13 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              13/Jan/20

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 2 hours, 51 minutes
                1d 2h 51m