Moodle
  1. Moodle
  2. MDL-25757

Duplicate CMI values not showing in report (SCORM Module)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.9.10, 2.0, 2.0.4, 2.1.1, 2.2
    • Fix Version/s: 1.9.15, 2.0.6, 2.1.3
    • Component/s: SCORM
    • Labels:
    • Environment:
      Tested under windows using XAMPP and web host. All databases were MySQL.
    • Testing Instructions:
      Hide

      Please, test this under all branches!

      Turn the SCORM debugger on so you can manually pass values into SCORM:

      In the text field for "select data model element to get or set" enter:
      cmi.interactions_0.id
      in the value to set field enter:
      SC_0200_a
      Hit the LMSSetValue() button

      In the text field for "select data model element to get or set" enter:
      cmi.interactions_0.result
      in the value to set field enter:
      wrong
      Hit the LMSSetValue() button

      In the text field for "select data model element to get or set" enter:
      cmi.interactions_1.id
      in the value to set field enter:
      SC_0210_a
      Hit the LMSSetValue() button

      In the text field for "select data model element to get or set" enter:
      cmi.interactions_1.result
      in the value to set field enter:
      wrong
      Hit the LMSSetValue() button

      now hit the LMSCommit() button

      • now check the results of the above

      go to the reports page of the SCORM - in the basic report it lists all the users who have submitted data and the number of "attempts" - (note attempt number is NOT the number of times a user has entered a SCORM) - click on the attempt number and on the following page click on "track details" - Check to make sure The "id" and "result" sub-elements will are written for interaction 0 and interaction 1.

      Show
      Please, test this under all branches! Turn the SCORM debugger on so you can manually pass values into SCORM: In the text field for "select data model element to get or set" enter: cmi.interactions_0.id in the value to set field enter: SC_0200_a Hit the LMSSetValue() button In the text field for "select data model element to get or set" enter: cmi.interactions_0.result in the value to set field enter: wrong Hit the LMSSetValue() button In the text field for "select data model element to get or set" enter: cmi.interactions_1.id in the value to set field enter: SC_0210_a Hit the LMSSetValue() button In the text field for "select data model element to get or set" enter: cmi.interactions_1.result in the value to set field enter: wrong Hit the LMSSetValue() button now hit the LMSCommit() button now check the results of the above go to the reports page of the SCORM - in the basic report it lists all the users who have submitted data and the number of "attempts" - (note attempt number is NOT the number of times a user has entered a SCORM) - click on the attempt number and on the following page click on "track details" - Check to make sure The "id" and "result" sub-elements will are written for interaction 0 and interaction 1.
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull Master Branch:
      master_MDL-25757
    • Rank:
      15175

      Description

      Requested reminder for Dan Marsden from forum issue:

      http://moodle.org/mod/forum/discuss.php?d=164735

      1. MDL-25757.patch
        3 kB
        Evan Irving-Pease
      2. MDL-25757-commented.patch
        5 kB
        Evan Irving-Pease

        Issue Links

          Activity

            People

            • Votes:
              5 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: