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

SCORM Web Services are not triggering module viewed completion

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.5, 3.7.1
    • Fix Version/s: 3.6.6, 3.7.2
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE
    • Pull from Repository:
    • Pull 3.6 Branch:
    • Pull 3.7 Branch:
    • Pull Master Branch:
      MDL-66554-master

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jleyva Juan Leyva
                Reporter:
                jleyva Juan Leyva
                Peer reviewer:
                Dan Marsden
                Integrator:
                Andrew Nicols
                Tester:
                Janelle Barcega
                Participants:
                Component watchers:
                Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Sep/19

                  Time Tracking

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