Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-938 SCORM player
  3. MOBILE-1342

Pre-fetch Web Services requests when the SCORM package is going to be downloaded

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.8
    • 2.8
    • SCORM add-on
    • Hide
      1. Add a new account in the app (just to be sure you don't have any cached data).
      2. Click the prefetch button next to a SCORM and wait for the download to be finished.
      3. Go offline and access the SCORM entry page. Check that all the data is rendered.
      4. Go online and now download at least 1 SCORM using a section's download all button.
      5. Go offline and access one of the downloaded SCORMs entry page. Check that all the data is rendered.
      Show
      Add a new account in the app (just to be sure you don't have any cached data). Click the prefetch button next to a SCORM and wait for the download to be finished. Go offline and access the SCORM entry page. Check that all the data is rendered. Go online and now download at least 1 SCORM using a section's download all button. Go offline and access one of the downloaded SCORMs entry page. Check that all the data is rendered.
    • MOODLE_28_STABLE
    • MOODLE_28_STABLE

      Every time the SCORM zip package is downloaded we need to pre-fetch some data. This is because we need this data to set-up the TOC and run-time API for the user.
      So basically what we need is:

      • First, call to get_scorm_attempt_count to obtain the last attempt (completed or not)
      • Call to get_scorm_user_data to obtain all the data for the attempt
      • Call get_scorm_scoes to obtain all the SCOes for all the organizations (one call for obtaining all the orgs and then one call per-organization)
      • Call get_scorm_sco_tracks for each SCO in all organizations (attempt = 0 - last attempt)

            dpalou Dani Palou
            jleyva Juan Leyva
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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