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

Gather preflight data in prefetch

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.0
    • 3.1.0
    • Quiz add-on
    • Hide
      1. Create a quiz with password and enable to use it in offline. Please put it in the same section as another offline quiz without password.
      2. In the app, click to prefetch the whole section. Check that the download of the quiz with password fails, but the other offline quiz is downloaded fine.
      3. Click to prefetch the quiz with password. Check that a modal is shown asking you the password.
      4. Close the modal using the X button. Check that an error message is shown.
      5. Click to prefetch again and now send an invalid password. Check that the right error message is shown.
      6. Click to prefetch again and now input the right password. Check that the quiz is prefetched.
      7. Go offline and check that you're able to continue the downloaded quiz (without asking you the password). Answer some questions, go back online and leave the quiz. Check that the data is synchronized without asking you the password.
      8. Now go back to Moodle and change the password of the quiz.
      9. In the app, answer some questions (it won't ask you the password) and then synchronize again. Check that it asks you the password again.
      Show
      Create a quiz with password and enable to use it in offline. Please put it in the same section as another offline quiz without password. In the app, click to prefetch the whole section. Check that the download of the quiz with password fails, but the other offline quiz is downloaded fine. Click to prefetch the quiz with password. Check that a modal is shown asking you the password. Close the modal using the X button. Check that an error message is shown. Click to prefetch again and now send an invalid password. Check that the right error message is shown. Click to prefetch again and now input the right password. Check that the quiz is prefetched. Go offline and check that you're able to continue the downloaded quiz (without asking you the password). Answer some questions, go back online and leave the quiz. Check that the data is synchronized without asking you the password. Now go back to Moodle and change the password of the quiz. In the app, answer some questions (it won't ask you the password) and then synchronize again. Check that it asks you the password again.
    • MOODLE_31_STABLE
    • MOODLE_31_STABLE
    • Moodle Mobile 3.1.0

      In the prefetch issue we've just hardcoded the required preflight data (offlineattempts). We should think of a proper way to gather the preflight data when the user clicks prefetch. The problem comes if we need a user input, since the user might be downloading more than one quiz at once.

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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