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

improving caching of SCORM JS and improve general structure.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.3, 2.7.1
    • Fix Version/s: 2.8
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    10/Nov/14