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

calendar_get_allowed_types should not request all course fields

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.4, 3.4 regressions
    • Fix Version/s: 3.4.1
    • Component/s: Calendar
    • Labels:

      Description

      The method calendar_get_allowed_types() calls calendar_get_default_courses() passing * as parameter. That loads all course fields and causes an "undefined" error when loading the new event form modal

      We (Ryan and I) have decided to push small chunks of performance improvements (we also have MDL-60402 and MDL-60826), so we can get rid of that nasty undefined error.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/Jan/18