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

Download embedded files when prefetching a course or section

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      This issue only needs to be tested in 1 OS.

      1. In a Moodle 3.3 or higher, create a new course and enrol a student in it.
      2. In that course, add at least 1 file to a section description (e.g. an image or video).
      3. In the same course, add at least 1 label with an embedded file in its contents (e.g. an image or video).
      4. In the app, login in that site with the student user.
      5. In the dashboard, in the Course Overview block, click to prefetch the course you just created. Check that you see a message saying that you will download "at least" X MB/KB. This is because we cannot calculate the size of the section description files.
      6. Accept the download and wait for it to finish.
      7. Go offline and open the course. Check that you can view/play the files in section description and in labels.
      8. Repeat the steps 1-7 in a Moodle 3.1 or 3.2. In this case, the step 5 will say that the size cannot be calculated (not even the label files). The rest of the steps should be exactly the same.
      Show
      This issue only needs to be tested in 1 OS. In a Moodle 3.3 or higher, create a new course and enrol a student in it. In that course, add at least 1 file to a section description (e.g. an image or video). In the same course, add at least 1 label with an embedded file in its contents (e.g. an image or video). In the app, login in that site with the student user. In the dashboard, in the Course Overview block, click to prefetch the course you just created. Check that you see a message saying that you will download " at least " X MB/KB. This is because we cannot calculate the size of the section description files. Accept the download and wait for it to finish. Go offline and open the course. Check that you can view/play the files in section description and in labels. Repeat the steps 1-7 in a Moodle 3.1 or 3.2. In this case, the step 5 will say that the size cannot be calculated (not even the label files). The rest of the steps should be exactly the same.
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Sprint:
      Moodle Mobile 3.6.1

      Description

      Right now, embedded media in a section description or a label won't be prefetched if a course or section is downloaded, they should be downloaded too.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  29/Mar/19