-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
4.2.0
-
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.