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

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.1.2, 2.2, 2.3
    • Calendar
    • MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Moderate

      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

            moodle.com Moodle HQ
            stronk7 Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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