Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-66554

SCORM Web Services are not triggering module viewed completion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.6.6, 3.7.2
    • 3.6.5, 3.7.1
    • SCORM
    • MOODLE_36_STABLE, MOODLE_37_STABLE
    • MOODLE_36_STABLE, MOODLE_37_STABLE
    • MDL-66554-master
    • Hide
      1. As admin, enable "Mobile services": Site administration ► Mobile app ► Mobile settings
      2. Create a course with completion enabled
      3. Add the attached SCORM as an activity in the course. When adding the SCORM, open the "Activity completion" settings section and check the "Student must view this activity to complete it" option
      4. Enrol one user as student in the course
      5. Run the moodle mobile app in docker:

        docker run -p 8100:8100 moodlehq/moodlemobile2:next
        

      6. Wait for the docker command to show:

        [05:42:29]  dev server running: http://localhost:8100/
        [05:42:52]  lint finished in 26.06 s
        

      7. Navigate to http://localhost:8100 in your browser
      8. In the app, login in to your test site with the student account and open the SCORM module
      9. Browse a couple of pages of the SCORM activity
      10. Back in the web view (not app):
      11. As the site administrator, go to the course in the Moodle site
      12. Open the completion report in "Settings (cog)" -> More -> Reports -> Activity completion
        1. Confirm that the activity is marked as completed for the user
      Show
      As admin, enable "Mobile services": Site administration ► Mobile app ► Mobile settings Create a course with completion enabled Add the attached SCORM as an activity in the course. When adding the SCORM, open the "Activity completion" settings section and check the "Student must view this activity to complete it" option Enrol one user as student in the course Run the moodle mobile app in docker: docker run -p 8100:8100 moodlehq/moodlemobile2:next Wait for the docker command to show: [05:42:29] dev server running: http://localhost:8100/ [05:42:52] lint finished in 26.06 s Navigate to http://localhost:8100 in your browser In the app, login in to your test site with the student account and open the SCORM module Browse a couple of pages of the SCORM activity Back in the web view (not app): As the site administrator, go to the course in the Moodle site Open the completion report in "Settings (cog)" -> More -> Reports -> Activity completion Confirm that the activity is marked as completed for the user

      Module completion viewed is triggered in mod/scorm/player.php when the player is launched, however, in the app, we are not triggering this.

      We need to trigger this in an existing WS that is always called by the app when the player is launched.

        1. image-2019-09-04-15-10-18-779.png
          148 kB
          Janelle Barcega

            jleyva Juan Leyva
            jleyva Juan Leyva
            Dan Marsden Dan Marsden
            Andrew Lyons Andrew Lyons
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 30 minutes
                4h 30m

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