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

Cannot read property 'errorcode' of null if local/mobile/check.php returns null

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.9.0
    • 3.8.2
    • Authentication
    • Hide

      This issue only needs to be tested in 1 device.

      1. Install the app and click to add a site.
      2. Enter the URL in the private comment and click Connect. Check that the following error is NOT displayed: Cannot read property 'errorcode' of null. Please notice it could display other errors like "Database connection failed".
      Show
      This issue only needs to be tested in 1 device. Install the app and click to add a site. Enter the URL in the private comment and click Connect. Check that the following error is NOT displayed:  Cannot read property 'errorcode' of null . Please notice it could display other errors like "Database connection failed".
    • MOODLE_38_STABLE
    • MOODLE_39_STABLE
    • Moodle App 3.9.0

      When the app accesses a site, it checks if the local_mobile plugin is installed by performing a request to local/mobile/check.php. If this request returns null, the app shows this error and doesn't let the user authenticate:

      Cannot read property 'errorcode' of null

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Pau Ferrer Pau Ferrer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.