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

Forum: Refresh when request failed throws an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2
    • 2.2
    • Forum add-on
    • Hide
      1. Install the app on a device.
      2. Go offline and open a forum not cached. After the connection error is shown, do a pull to refresh and check that the same connection error is shown. Check that the unexpected error modal is not shown.
      3. Do the same for choices.
      4. Open a mod_resource, do a pull to refresh and check that the loading disappears when the refresh is finished.
      Show
      Install the app on a device. Go offline and open a forum not cached. After the connection error is shown, do a pull to refresh and check that the same connection error is shown. Check that the unexpected error modal is not shown. Do the same for choices. Open a mod_resource, do a pull to refresh and check that the loading disappears when the refresh is finished.
    • MOODLE_22_STABLE
    • MOODLE_22_STABLE

      We received this error report:

      Cannot read property 'id' of undefined
      File: file:///android_asset/www/build/mm.bundle.js
      Line: 10165

      This issue happens when the user opens a forum, it fails to load and then performs a pull to refresh. Since we haven't been able to retrieve the forum, using forum.id throws an error. The same happens with choices.

      I also noticed that, in mod_resource, the loading in pull to refresh is shown forever.

            dpalou Dani Palou
            dpalou Dani Palou
            Frédéric Massart Frédéric Massart
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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