Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-1162

Side menu addons not seen when adding a new account

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: UX (User eXperience)
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            dpalou Dani Palou
            Peer reviewer:
            Frédéric Massart
            Integrator:
            Juan Leyva
            Tester:
            Dani Palou
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              31/Jul/15