-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
3.7.2
-
None
-
MOODLE_37_STABLE
I get the above warning message with Moodle in the French language and the Boost theme. Here are my steps to reproduce in the latest Moodle 3.7.2+ (Build: 20190927):
- Log in as a Moodle Administrator.
- Install French language pack.
- Set debugging to DEVELOPER mode
- Switch to French language
- Navigate to Acceuil > Mes cours > [any course name] > Participants
Near the bottom of the content area, you will see the following message:
Too much data passed as arguments to js_call_amd("core_user/participants", "init").
Generally there are better ways to pass lots of data from PHP to JavaScript, for example via Ajax, data attributes, ... . This warning is triggered if the argument string becomes longer than 1024 characters.
line 1036 of \lib\outputrequirementslib.php: call to debugging()
line 358 of \user\index.php: call to page_requirements_manager->js_call_amd()
Note: You don't need to have any students enrolled in the course and it happen in all courses.
- duplicates
-
MDL-62468 Participants page initialises core_user/participants JS in a way that triggers the "Too many params passed to js_call_amd" debug
-
- Development in progress
-
- has been marked as being related by
-
MDLQA-12600 CLONE - RTL site smoke test
-
- Passed
-