-
Bug
-
Resolution: Fixed
-
Minor
-
2.0
-
- Start the app without being logged in in any site (the first screen you see should be either sites list or add a new site).
- Add a new site.
- Check that the side menu addons list is the right one.
-
MOODLE_20_STABLE
-
MOODLE_20_STABLE
There's a race condition in side menu delegate. The side menu addons are retrieved before updateNavHandlers is executed, so we end up with an empty side menu.
When we access an already stored account it has a lesser impact, because once update site info is done the list is refreshed. The user will have an empty list while that update process is ongoing.
There's a possible race condition in courses addons too, but in that case it's working because retrieve courses is slower than updating nav handlers. We should treat that case too to avoid having the same issue if update nav handlers become slower for some reason.