Issue with scorm 2004 and launch_data variable

Re: Issue with scorm 2004 and launch_data variable

Napisane bez: Dan Marsden ()
Liczba ôdpowiedzi: 3
Ôbrŏz Core developers Ôbrŏz Particularly helpful Moodlers Ôbrŏz Peer reviewers Ôbrŏz Plugin developers Ôbrŏz Plugins guardians Ôbrŏz Testers Ôbrŏz Translators

Moodle doesn't provide complete support for SCORM 2004 - see here for more details:
https://danmarsden.com/blog/2013/05/06/stopping-work-on-scorm-2004/

in Moodle SCORM 2004 code cmi.launch_data is initialized when entering the SCORM with the data from cmi.exit (instead of dataFromLMS) - I'm not sure if that is a bug or correct 2004 behaviour and something else is causing your package to fail.

If you have funding available to help pay for someone's time to diagnose this further feel free to get in touch, otherwise you need to stick to using SCORM 1.2 packages.


W ôdpowiedzi na Dan Marsden

Re: Issue with scorm 2004 and launch_data variable

Napisane bez: W Roes ()
Ôbrŏz Core developers

I made some changes to scorm_13.js and scorm_13lib.php both in mod/scorm/datamodels (modified versions attached) This solves our problems. Maybe someone could test these and line them up to be included in a next version?

W ôdpowiedzi na W Roes

Re: Issue with scorm 2004 and launch_data variable

Napisane bez: Dan Marsden ()
Ôbrŏz Core developers Ôbrŏz Particularly helpful Moodlers Ôbrŏz Peer reviewers Ôbrŏz Plugin developers Ôbrŏz Plugins guardians Ôbrŏz Testers Ôbrŏz Translators
Great to hear you have it sorted for your use. Here are the conditions required to allow a SCORM 2004 related patch to land in the core code.


Issues related to the 2004 specification will be closed as "won't fix" unless the following conditions are met.

  • A patch is provided by someone in the community that fixes this issue.
  • The patch meets Moodle's coding guidelines.
  • full testing instructions are provided that allows the issue to be tested correctly.
  • Unit tests (where possible) have been implemented.
  • The patch can be attributed directly to a SCORM 2004 ADL test that now passes with the patch (if the patch is related to running the SCORM package)
  • Screenshots of the SCORM 2004 ADL test being completed with the patch.

If funding is provided to pay for the time of the SCORM maintainer to review/test/develop some of the above are not fixed requirements. (I maintain SCORM as a volunteer.)

thanks!