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

improving caching of SCORM JS and improve general structure.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 2.8
    • 2.2.3, 2.7.1
    • SCORM
    • MOODLE_22_STABLE, MOODLE_27_STABLE
    • MOODLE_28_STABLE
    • Hide

      This is a significant change to a lot of SCORM files.
      Please re-run the QA tests:
      MDLQA-6752
      MDLQA-6753
      MDLQA-6755
      MDLQA-6756
      MDLQA-6757
      MDLQA-6758
      MDLQA-7090
      MDLQA-7091
      MDLQA-7092

      Also make the following test to ensure that the student preferences are being recalled correctly:
      Enter a SCORM package with the SCORM debugger turned on.
      Make sure normal debugger entries are added to the debugger - make sure the following entry shows in the debug log:
      LMSInitialize("", "") => 0

      in the scorm debugger window select "cmi.student_preference.language" and then enter a text string into the "value to set" field - then hit the LMSSetValue() button.

      Then with the same var selected ("cmi.student_preference.language") hit the LMSGetValue() button and make sure that value is returned in the debugger log below.

      Show
      This is a significant change to a lot of SCORM files. Please re-run the QA tests: MDLQA-6752 MDLQA-6753 MDLQA-6755 MDLQA-6756 MDLQA-6757 MDLQA-6758 MDLQA-7090 MDLQA-7091 MDLQA-7092 Also make the following test to ensure that the student preferences are being recalled correctly: Enter a SCORM package with the SCORM debugger turned on. Make sure normal debugger entries are added to the debugger - make sure the following entry shows in the debug log: LMSInitialize("", "") => 0 in the scorm debugger window select "cmi.student_preference.language" and then enter a text string into the "value to set" field - then hit the LMSSetValue() button. Then with the same var selected ("cmi.student_preference.language") hit the LMSGetValue() button and make sure that value is returned in the debugger log below.

      This bug has evolved a bit - our main aim is to give proper separation of PHP and JS in SCORM and at the same time improve the way that values are retrieved and make it more consistent across all parameters that should be available to the SCORM package. such as the student_preference vars.

      The long term plan is to completely remove the .js.php files but we may still need to keep part of them in the first version of this change.

            nobelium vignesh p
            luxyluc luc santin
            Dan Marsden Dan Marsden
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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