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

js_call_amd is too restrictive in debug mode when lot of blocks installed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2
    • Fix Version/s: None
    • Component/s: General, JavaScript
    • Labels:
    • Affected Branches:
      MOODLE_32_STABLE

      Description

      if ($CFG->debugdeveloper) {
      $toomanyparamslimit = 1024;
      if (strlen($strparams) > $toomanyparamslimit)

      { debugging('Too many params passed to js_call_amd("' . $fullmodule . '", "' . $func . '") '.$strparams, DEBUG_DEVELOPER); }

      }

      when installing a lot of blocks, 1024 is quickly passed and noises the debugging mode.

      2048 would cope with strongly equiped moodles.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              vf Valery Fremaux
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              4 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated: