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

Quiz entry page should be refreshed when a download finishes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Tested
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.1
    • Fix Version/s: None
    • Component/s: Quiz add-on
    • Labels:
    • Testing Instructions:
      Hide

      This issue only needs to be tested in 1 device.

      1. In web, create a quiz that can be attempted in offline (there are some already created in MobileMaster > MM Dev Testing > Quiz).
      2. In the app, access the quiz as student.
      3. If there is any unfinished attempt, finish it first.
      4. Once you are in the quiz entry page with all attempts finished and the quiz not downloaded, open the top-right menu and click "Download".
      5. Once it finishes, check that the view is updated and you can see a new ongoing attempt in the list of attempts.
      Show
      This issue only needs to be tested in 1 device. In web, create a quiz that can be attempted in offline (there are some already created in MobileMaster > MM Dev Testing > Quiz). In the app, access the quiz as student. If there is any unfinished attempt, finish it first. Once you are in the quiz entry page with all attempts finished and the quiz not downloaded, open the top-right menu and click "Download". Once it finishes, check that the view is updated and you can see a new ongoing attempt in the list of attempts.
    • Affected Branches:
      MOODLE_36_STABLE
    • Sprint:
      Moodle App 3.7.0

      Description

      I found this problem while testing MOBILE-2873:

      1. In the app, open a quiz that can be done in offline.
      2. If you have any attempt started in the quiz, finish it.
      3. In the list of attempts you see that there are no attempts or the last one is finished.
      4. Open the top right menu and click Download.
      5. When the download finishes, a new attempt has been started in Moodle but you don't see it in the app unless you PTR or leave and re-enter the view.

      We can probably use the functions setStatusListener and showStatus.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: