Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.6
-
Fix Version/s: 2.6.1
-
Component/s: JavaScript
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_26_STABLE
-
Fixed Branches:MOODLE_26_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-42989-master -
Pull Master Diff URL:
Description
There is a lack of error handling in /lib/ajax/getsiteadminbranch.php which causes the JSON parser to easily fail if (for example) whitespace is output before the JSON.
-> Update to Moodle 2.6
-> Try to load the admin menu on the home page
It fails on our build, with a JSON parser error.
It should expand the admin menu.
Attachments
Issue Links
- blocks
-
MDL-43152 Linting issue in shifted JavaScript
-
- Closed
-
- has a non-specific relationship to
-
MDL-40958 ajax_failure in dragdrop.js does not handle server timeouts
-
- Open
-
- is a regression caused by
-
MDL-41811 Load admin menus using AJAX when not on admin pages
-
- Closed
-
- is duplicated by
-
MDL-43013 Site administration menu don't expand when using Chrome and Firefox for site admin
-
- Closed
-