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"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.9.10
    • 1.9.9
    • SCORM
    • None
    • MySQL
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE
    • Moderate

      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.

            danmarsden Dan Marsden
            andreabix Andrea Bicciolo
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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