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

Decide if we want to download new activity data after sending data to server

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.2.0
    • Synchronization
    • MOODLE_402_STABLE

      This was detected by Alfonso during the 4.2 release QA testing. The case detected was: if you create a new database entry, then go offline and try to open it you see a connection error because the app doesn't have this data downloaded.

      In some activities we prefetch the new data after synchronizing, this was introduced first in quiz and SCORM because you need the data to be updated to be able to continue in offline. But there are other activities that also do some kind of download after synchronizing: choice, feedback, lesson, quiz, scorm, survey.

      We should decide what to do in other activities. For example in the database case above, should we download the new entry data or the whole activity? Should we do it only if the activity is downloaded?

      Another case detected was H5P. This case can be more critical, because if we don't download the latest data we can have an inconsistent "H5P state" in the app.

            Unassigned Unassigned
            dpalou Dani Palou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

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