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

Errors shown in log if you logout when certain operations are being executed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.9
    • Component/s: Others
    • Labels:
    • Testing Instructions:
      Hide

      To test this you need to be able to logout while a participants list is being fetched. You can use the new capture link feature to capture a link to a participants list in another site, this way you can access the side menu from the participants page and you can logout faster.

      1. Start loading a participants list.
      2. Logout before it finishes loading.
      3. Check that no error is shown in the log.
      Show
      To test this you need to be able to logout while a participants list is being fetched. You can use the new capture link feature to capture a link to a participants list in another site , this way you can access the side menu from the participants page and you can logout faster. Start loading a participants list. Logout before it finishes loading. Check that no error is shown in the log.
    • Affected Branches:
      MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE

      Description

      If the user logouts at certain times (like when a WS call is waiting response) then some errors are shown in the console. For example, I saw that the app is trying to use mmSitesManager.getSite with siteId=undefined. This doesn't break the app, but we should try to treat these cases.

        Attachments

          Activity

            People

            • Assignee:
              dpalou Daniel Palou
              Reporter:
              dpalou Daniel Palou
              Peer reviewer:
              Juan Leyva
              Integrator:
              Juan Leyva
              Tester:
              Juan Leyva
              Participants:
              Component watchers:
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                29/Feb/16