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

iOS: TypeError: null is not an object (evaluating 'm.offsetX')

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Ionic
    • Labels:

      Description

      While testing on iOS I get this error sometimes when logging out from a site. This already happened before, it doesn't have any impact in the app's behavior, but since now we capture the errors to send them to server the user will see the message that there was an error.

      This error is related to side menu, specifically to setTranslateX function. My guess is that the side menu is destroyed while getting closed, and that causes the app to crash sometimes (depends on the speed of $mmSitesManager.logout).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/Aug/15