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

LmsSetValue with cmi.objectives.n.id may return "Incorrect data type" and/or "Invalid argument error"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.9
    • Fix Version/s: 1.9.10
    • Component/s: SCORM
    • Labels:
      None
    • Database:
      MySQL
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      When using 1.2 SCORM packages where a LmsSetValue is issued using cmi.objectives.n.id is sent, under certain circumstances errors are thrown. Up to now we reproduced the following:

      1. "Incorrect data type" (405) is always thrown when cmi.objectives.n.id i set to alphanumeric id containing blank spaces (that could be a limit of the 1.2 scorm API ?)

      2. "Incorrect data type" is also thrown sometimes when N > 10. That is not alway reproducible but it happens for id with and without spaces.

      3. When incorrect data type is thrown using an id label without space, setting the value by the SCORM API debugger yields "Invalid argument error" (201).

      We have a test environment to check it.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  25/Oct/10