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

suspend_data not being stored for AICC HACP content

XMLWordPrintable

    • MOODLE_35_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE
    • MOODLE_401_STABLE, MOODLE_402_STABLE
    • m41_MDL-63539
    • Hide

      MAKE SURE YOUR SERVER ALLOWS OUTGOING HTTP AND YOUR SITE USES A PUBLIC URL (not localhost or 192.168.x.x etc)

      NOTE: testing this requires access to a restricted AICC package which also needs your Moodle testing site added to a whitelist for it to function.

      1. go to admin > plugins > activity modules > SCORM
      2. make sure the setting "Enable direct AICC url" is set to "yes"
      3. make sure the setting "Enable external AICC HACP" is set to "yes"
      4. Create a new SCORM in your site - select the scormtype "external AICC URL" and use the private AICC testing url (ask Dan Marsden via chat for this detail)
      5. Login as a student and enter the SCORM package.
      6. Complete the introduction section within the learning package (See supplied pdf that covers screenshots of this learning package and more detail.)
      7. Click the "Exit activity" button to exit the AICC module.
      8. While logged in as a teacher, enter the SCORM package "reports" area and in the Attempt column click the attempt number of the student that you entered above.
      9. click on the "track details" link for that student's attempt.
      10. Check to make sure the "cmi.suspend_data" value shown on the track details page does not have an empty value.
      11. Login as the same student again and re-enter the SCORM package, you should be presented with a dialogue asking if you would like to return to the same place, click "yes" and you should then be returned to where you last left off with the previously completed items still flagged as complete.
      Show
      MAKE SURE YOUR SERVER ALLOWS OUTGOING HTTP AND YOUR SITE USES A PUBLIC URL (not localhost or 192.168.x.x etc) NOTE: testing this requires access to a restricted AICC package which also needs your Moodle testing site added to a whitelist for it to function. go to admin > plugins > activity modules > SCORM make sure the setting "Enable direct AICC url" is set to "yes" make sure the setting "Enable external AICC HACP" is set to "yes" Create a new SCORM in your site - select the scormtype "external AICC URL" and use the private AICC testing url (ask Dan Marsden via chat for this detail) Login as a student and enter the SCORM package. Complete the introduction section within the learning package (See supplied pdf that covers screenshots of this learning package and more detail.) Click the "Exit activity" button to exit the AICC module. While logged in as a teacher, enter the SCORM package "reports" area and in the Attempt column click the attempt number of the student that you entered above. click on the "track details" link for that student's attempt. Check to make sure the "cmi.suspend_data" value shown on the track details page does not have an empty value. Login as the same student again and re-enter the SCORM package, you should be presented with a dialogue asking if you would like to return to the same place, click "yes" and you should then be returned to where you last left off with the previously completed items still flagged as complete.

      In previous versions of Moodle (e.g. 3.1.3), we were able to launch AICC HACP courses inside Moodle, which were sitting on an external domain, and these courses would store information in suspend_data.

      Nearly 100 pieces of content have run like this for over 12 months, with our clients using Moodle and Totara (also Unicorn, Kallidus and other LMS's) to configure and launch them on their own LMS instances.  These instances have been tracking correctly, recording session time, score, lesson_status, lesson_location and suspend_data.

      In our particular case, suspend _data is used to track previous progress information, which is used to populate the content (i.e. with previous question responses) if it is opened again at a later date.

      Approximately 2 months ago we started getting reports that some clients were seeing the courses open and lesson_location, session time and score were being recorded but suspend_data was empty after the course was closed.

      We have replicated this issue and we can see suspend_data is NOT stored for AICC HACP (external link) courses in Moodle 3.4.1, 3.5.2 and 3.5.2+.

      We can see that it does work in and is stored in Moodle versions 3.1.3 and 3.2.

      To be absolutely clear - the same course works in these Moodle versions if you upload it as a SCORM 1.2 package.  Suspend_data is stored in this case.  The issue only occurs if you run the course by configuring it using an AICC external link.

      If it helps, I can provide an external AICC courses link to anyone trying to replicate this issue but I will need your domain name as access to these courses is whitelisted in our course repository.

       

            danmarsden Dan Marsden
            ianrobinson Ian Robinson
            Ilya Tregubov Ilya Tregubov
            Mathew May Mathew May
            Ilya Tregubov Ilya Tregubov
            Votes:
            7 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 18 minutes
                3h 18m

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