-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
2.6.3, 2.7
-
None
-
MOODLE_26_STABLE, MOODLE_27_STABLE
I've detected this issue calling a WebService function that has a name length about 60 chars
You can see here how the function name is stored in the action field
https://github.com/moodle/moodle/blob/master/webservice/lib.php#L1639
The current action field in the log table is limited to 40 chars so an error is returned (send by email) to the administrator when a client/consumer calls the WebService function.
After talking with Eloy, it's clear that we should control the size of the action parameter in the add_to_log (2.6) and legacy_add_to_log function (2.7) function
- duplicates
-
MDL-36670 Web service function names longer than 40 characters cause log errors
-
- Closed
-