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

add support for DURATION when importing iCalendar events

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.8
    • Fix Version/s: BACKEND
    • Component/s: Calendar
    • Labels:
    • Testing Instructions:
      Hide

      Attempt to import a .ics file that contains VEVENT entries which use DURATION instead of DTEND to mark the end of the event (An example file is attached). They should import with the proper duration instead of defaulting to an hour.

      Show
      Attempt to import a .ics file that contains VEVENT entries which use DURATION instead of DTEND to mark the end of the event (An example file is attached). They should import with the proper duration instead of defaulting to an hour.
    • Affected Branches:
      MOODLE_28_STABLE
    • Pull Master Branch:

      Description

      The code that imports events from .ics files does not use the DURATION property if present. Instead, if DTEND is missing from the event, it is assumed to have a duration of one hour.

      Not sure if this should be classified as a bug or not, as DURATION is part of the RFC2445 spec that Bennu appears to support.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: