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

Duplicate CMI values not showing in report (SCORM Module)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 1.9.15, 2.0.6, 2.1.3
    • 1.9.10, 2.0, 2.0.4, 2.1.1, 2.2
    • SCORM
    • Tested under windows using XAMPP and web host. All databases were MySQL.
    • MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE
    • master_MDL-25757
    • 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.

    Description

      Requested reminder for Dan Marsden from forum issue:

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

      Attachments

        Issue Links

          Activity

            People

              danmarsden Dan Marsden
              mackavi Russell Coombe
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Ankit Agarwal Ankit Agarwal
              Votes:
              5 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Nov/11