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

Improve error messages when offline

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.1
    • Component/s: Others
    • Labels:
    • Testing Instructions:
      Hide
      1. Check that the app shows a "network error" message when you try to do the following actions in offline:
        • Add a new site.
        • Enter credentials for a site.
        • Create a new account (signup).
        • Get a new captcha in the signup page.
        • Prefetch an activity or resource.
        • View private or site files (in the "Files" addon of the side menu).
        • Click the "+" button in the top right corner of private files (in this case the error message is different, but it should show the same icon in the error modal).
      Show
      Check that the app shows a "network error" message when you try to do the following actions in offline : Add a new site. Enter credentials for a site. Create a new account (signup). Get a new captcha in the signup page. Prefetch an activity or resource. View private or site files (in the "Files" addon of the side menu). Click the "+" button in the top right corner of private files (in this case the error message is different, but it should show the same icon in the error modal).
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Sprint:
      Moodle Mobile 3.3.1

      Description

      If the user is offline and tries to do actions in the app we should display an offline (not connected) error message if the request fails instead of the message returned by the system or our exception messages.

      Maybe we should also display a popover or a message like (You are offline) like Telegram does

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            jleyva Juan Leyva
            Peer reviewer:
            Pau Ferrer
            Integrator:
            Juan Leyva
            Tester:
            Berta Maroto
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              28/Jul/17