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

Improve cron handler errors when synchronizing

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor Minor
    • 4.1.0
    • 4.0.2
    • Synchronization
    • Hide

      Tests should be covered by behat.

      Test on one device of your choice:

      1. Enter the app with an student user
      2. Navigate to more > App settings > Synchronisation
      3. Check you can see the list of accounts.
      4. Go offline.
      5. Check Accounts list disappears and a message to connect is displayed.
      6. Connect to a wifi and check it comes back to the previous state.
      7. Enable "Data saver" setting. (already enabled)
      8. Change your connection to cellular connection (turn off wifi).
      9. Check Accounts list disappears and a message to connect to a wifi is displayed.
      10. Connect again to wifi. Previous state should be restored.
      11. Check you can sync your current site (on top) and other sites as well.
      12. Check some accounts has "Log in to Synchronise".
      13. Click on the login button (next to the account).
      14. Check you can login navigate again to the Sync settings page.
      15. Check you can sync the site.
      16. Now Navigate to user menu > Preferences.
      17. Check you can see Synchronise now box.
      18. Check you can sync.
      19. Go offline.
      20. Check a message to connect is displayed and you also cannot sync.
      21. Go online to cellular connection.
      22. Data saver should be enabled, so the message to connect to a wifi should be shown and the sync button should be disabled.
      23. Go online (cellular again).
      24. Disable the Data saver from Sync settings page and go back to the Preferences page.
      25. Check you can sync.
      Show
      Tests should be covered by behat. Test on one device of your choice: Enter the app with an student user Navigate to more > App settings > Synchronisation Check you can see the list of accounts. Go offline. Check Accounts list disappears and a message to connect is displayed. Connect to a wifi and check it comes back to the previous state. Enable "Data saver" setting. (already enabled) Change your connection to cellular connection (turn off wifi). Check Accounts list disappears and a message to connect to a wifi is displayed. Connect again to wifi. Previous state should be restored. Check you can sync your current site (on top) and other sites as well. Check some accounts has "Log in to Synchronise". Click on the login button (next to the account). Check you can login navigate again to the Sync settings page. Check you can sync the site. Now Navigate to user menu > Preferences. Check you can see Synchronise now box. Check you can sync. Go offline. Check a message to connect is displayed and you also cannot sync. Go online to cellular connection. Data saver should be enabled, so the message to connect to a wifi should be shown and the sync button should be disabled. Go online (cellular again). Disable the Data saver from Sync settings page and go back to the Preferences page. Check you can sync.
    • MOODLE_400_STABLE
    • MOODLE_401_STABLE
    • Moodle App 4.1.0

      If a cron handler fails when synchronizing a site, the app displays an error that can look weird to the user. We should either improve the message, or decide if we want to ignore some errors.

      [In this case the error message reads: Execution of handler ‘CorePushNotificationsRegisterCronHandler' failed]

        1. Screenshot 2022-04-26 at 08.30.35.png
          Screenshot 2022-04-26 at 08.30.35.png
          99 kB
        2. w1.png
          w1.png
          217 kB
        3. w2.png
          w2.png
          224 kB
        4. w3.png
          w3.png
          312 kB
        5. w4.png
          w4.png
          321 kB
        6. w5.png
          w5.png
          362 kB
        7. w6.png
          w6.png
          511 kB

            pferre22 Pau Ferrer
            dpalou Dani Palou
            Dani Palou Dani Palou
            Isabel Renedo Rouco Isabel Renedo Rouco
            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.