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

Research if the RFC 2445 specifies some format to reply on permissions/empty/not enabled problems

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.1.2, 2.2, 2.3
    • Fix Version/s: STABLE backlog
    • Component/s: Calendar
    • Labels:
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE

      Description

      Right now calendar/export_execute.php is simply dying on various controlled situations:

      • calendars disabled.
      • authentication error.
      • incorrect params.
      • bad serialization.
      • ...

      (sometimes just die() with message and sometimes performing a redirect)

      It would be better to always send one correct iCalendar (RFC 2445) reply instead, so the clients accessing moodle calendars would behave better.

      So we must research if the standard provides any facility to return erroneous situations, and use it if possible, replacing those die()/redirect() ends.

      Ciao

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              moodle.com moodle.com
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated: