Issues on upgrading to 3.1.2

Re: Issues on upgrading to 3.1.2

by Davide Davide -
Number of replies: 0

Hi Luis, same results with every theme.

Try inspecting the javascript, I noticed that the problem is in /blocks/settings/amd/src/settingsblock.js, maybe relative to the issue MDL 54722.

Everytime I try to expand the tree menu, this script is called and functions adminTree.finishExpandingGroup and adminTree.collapseGroup, are called consecutively.

Like in the possible patch attached in the issue, I omitted the call to Y.use('moodle-core-event') in settingsblock.js and menu are exapanding/collapsing correctly, but a javascript errors occurs everytime "TypeError: M.core.globalEvents is undefined  first.js:10044:21"
Every other sources, seems to be aligned correctly...

I saw a lot of bugs in the Moodle Tracker about this kind of issue, and I thinks mine it's not an isolate case.
What kind of problems can being encountered with this simple fix that I applied?