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

Participants page initialises core_user/participants JS in a way that triggers the "Too many params passed to js_call_amd" debug

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4.2
    • Fix Version/s: None
    • Component/s: User management
    • Labels:

      Description

      As discovered by Eloy Lafuente (stronk7) in MDL-62354, when the string publishstate_help exceeds certain length, a debugging warning is raised:

      Too many params passed to js_call_amd("core_user/participants", "init")
              line 1025 of /lib/outputrequirementslib.php: call to debugging()
              line 337 of /user/index.php: call to page_requirements_manager->js_call_amd()
      

      String length should not affect these things, an alternative way for passing data for the module shall be researched.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                11 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated: