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

Errors on prefetch section

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 3.6.1
    • 3.6.0
    • Courses
    • Hide

      This issue only needs to be tested in 1 device.

      1. In web as teacher, create a new course and put a quiz with password that can be attempted in offline.
      2. In the app, login as a student and open the course.
      3. Enable the downloads in the course (top-right menu). Check that you see the download button both in "All sections" and in the section that has the quiz.
      4. Perform a PTR. When done, check that you still see the download button both in "All sections" and in the section that has the quiz.
      5. Now click to download the section. Check that, once it's done, you see an error saying that the quiz password was incorrect and the section button goes back to the download button (the spinner disappears).
      6. Repeat the same test but clicking the download button in "All sections". The result should be the same, you see an error and the buttons go back to download button.
      Show
      This issue only needs to be tested in 1 device. In web as teacher, create a new course and put a quiz with password that can be attempted in offline. In the app, login as a student and open the course. Enable the downloads in the course (top-right menu). Check that you see the download button both in "All sections" and in the section that has the quiz. Perform a PTR. When done, check that you still see the download button both in "All sections" and in the section that has the quiz. Now click to download the section. Check that, once it's done, you see an error saying that the quiz password was incorrect and the section button goes back to the download button (the spinner disappears). Repeat the same test but clicking the download button in "All sections". The result should be the same, you see an error and the buttons go back to download button.
    • MOODLE_36_STABLE
    • MOODLE_36_STABLE
    • Moodle Mobile 3.6.1

    Description

      There are some problems with prefetching sections.

      PROBLEM 1:

      Section download button is now shown after PTR on a section with download options enabled.

      PROBLEM 2:

      When a prefetch has an error, section download does not finish.

      To reproduce:

      1. Enter into the dev course quiz section.
      2. Enabled downloads.
      3. Download the section.
      4. It will ask the size of the download, and after it will show an error that the password is incorrect.
      5. Download status will stay with the spinner and X / X+1 (only one left) forever.
      6. I think it's related to the password problem. (after ptr, all but this has state "notdownloaded"

      Attachments

        Issue Links

          Activity

            People

              dpalou Dani Palou
              pferre22 Pau Ferrer
              Albert Gasset Albert Gasset
              Juan Leyva Juan Leyva
              Isabel Renedo Rouco Isabel Renedo Rouco
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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