-
Bug
-
Resolution: Fixed
-
Blocker
-
5.0
-
MOODLE_500_STABLE
-
MOODLE_500_STABLE
-
-
-
-
1
-
Team Hedgehogs 2025 Sprint 1.1
Experimenting with AI providers for my project week, I discovered that the toggle for AI placement actions is broken - trying to use them currently produces the following exception in WS request:
[
|
{
|
"error": true,
|
"exception": {
|
"message": "Invalid parameter value detected",
|
"errorcode": "invalidparameter",
|
"backtrace": "* line 345 of /lib/external/classes/external_api.php: core\\exception\\invalid_parameter_exception thrown\n* line ? of unknownfile: call to core_external\\external_api::validate_parameters()\n* line 228 of /lib/external/classes/external_api.php: call to call_user_func()\n* line 83 of /lib/ajax/service.php: call to core_external\\external_api::call_external_function()\n",
|
"link": "http://localhost:8000/admin/settings.php?section=aiplacement_editor",
|
"moreinfourl": "https://docs.moodle.org/500/en/error/debug/invalidparameter",
|
"debuginfo": "Missing required key in single structure: pluginaction\nError code: invalidparameter"
|
}
|
}
|
]
|
Broken by MDL-82977 because the parameter name was changed, but the caller still passes "plugin"