-
Bug
-
Resolution: Fixed
-
Minor
-
3.9.6, 3.10, 3.11, 4.0
-
MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
-
MOODLE_310_STABLE, MOODLE_39_STABLE
-
This has been detected @ MDL-69971 and, unless I missed them originally, they weren't around a couple of weeks ago. It's the called "Problem E" there.
There are 2 entries in the webserver error logs:
[Mon Nov 02 08:43:37.161356 2020] [php7:notice] [pid 26353] [client 127.0.0.1:62894] Default exception handler: Coding error detected, it must be fixed by a programmer: No further information available for this branch Debug: \nError code: codingerror\n* line 129 of /lib/ajax/getnavbranch.php: coding_exception thrown\n, referer: http://127.0.0.1/~stronk7/behattesting/course/view.php?id=103000
|
[Mon Nov 02 08:43:58.161100 2020] [php7:notice] [pid 26673] [client 127.0.0.1:63330] Default exception handler: Coding error detected, it must be fixed by a programmer: No further information available for this branch Debug: \nError code: codingerror\n* line 129 of /lib/ajax/getnavbranch.php: coding_exception thrown\n, referer: http://127.0.0.1/~stronk7/behattesting/course/view.php?id=103000
|
when running behat tests against classic. The problem has been narrowed to these 2 scenarios:
|
- Edit a self-enrolled user's enrolment from the course participants page
|
- Unenrol a self-enrolled student from the course participants page
|
(note that they pass, just there is some (ajax) request ending with error)
Maybe important note: The errors are super-similar with problem D) that was fixed 1 week ago (see (MDL-69993). So, maybe, not-confirmed, just a bet... these 2 new similar erros could be an effect of it. Again, worth confirming, it's surprising that they are happening in the same area.
Ciao