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

Viewing mod/lti/toolconfigure.php can take a very long time

XMLWordPrintable

    • MOODLE_311_STABLE, MOODLE_400_STABLE

      The tool management interface (mod/lti/toolconfigure.php) makes an AJAX request (mod_lti_get_tool_types) to load all the available tools.

      Sites can have an unlimited number of tools configured - meaning as time goes on this request gets slower and slower.

      The external webservice responsible loads all the tools in one query - and then has each one run through serialise_tool_type() - this function ends up doing a DB lookup for each tool.

      Ideally, this information would be loaded in a single query rather than N queries - or the interface implements some form of paging (displaying hundreds or thousands of tools on the one page isn't ideal either after all).

            Unassigned Unassigned
            aolley Adam Olley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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