-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.0.6
-
MOODLE_400_STABLE
I'm getting a Webservice error when trying to mark a competency for a user's learning plan from their profile. Error is:
Coding error detected, it must be fixed by a programmer: Cannot override a standard property value.
|
Error code: codingerror
|
* line 129 of /lib/classes/external/exporter.php: coding_exception thrown |
* line 77 of /competency/classes/external/evidence_exporter.php: call to core\external\exporter->export() |
* line 125 of /lib/classes/external/exporter.php: call to core_competency\external\evidence_exporter->get_other_values() |
* line 3847 of /competency/classes/external.php: call to core\external\exporter->export() |
* line 261 of /lib/externallib.php: call to core_competency\external::grade_competency_in_plan() |
* line 81 of /lib/ajax/service.php: call to external_api::call_external_function() |
When I check the exporter function the error is that the $values and $othervalues arrays share the 'fullname' entry.
The entry does get updated for the user.
Steps to recreate:
Using a Learning Plan with a simple set a competencies
Assign to a user
Go to the users profile page and then learning plans
click on one of the competencies, click on rate, chose a rating and then click on rate
Error is thrown.