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

Don't prefetch after sync if data hasn't been sent

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. In Moodle web, create a quiz that can be played in offline. Do NOT put any file in the description.
      2. In the app, go to the quiz entry page without downloading it. Check that you don't see the downloaded size in the context menu.
      3. Perform a PTR. Check that the downloaded size is still not seen.
      Show
      In Moodle web, create a quiz that can be played in offline. Do NOT put any file in the description. In the app, go to the quiz entry page without downloading it. Check that you don't see the downloaded size in the context menu. Perform a PTR. Check that the downloaded size is still not seen.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Sprint:
      Moodle Mobile 3.2.1

      Description

      In quiz and SCORM we always prefetch the data after a sync, even if there is nothing to send. We should only prefetch the data if something was sent to decrease the data usage.

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            dpalou Dani Palou
            Peer reviewer:
            Pau Ferrer Pau Ferrer
            Integrator:
            Juan Leyva Juan Leyva
            Tester:
            Berta Maroto 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/Feb/17