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

Data Model Elements are being initialized with an empty string

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2.1
    • 2.2, 2.3
    • SCORM
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_22_STABLE
    • master_MDL-30579
    • Hide

      It can be tested by running the SCORM Test Harness for DMI package - Data Model Implementation Test 1.
      1. Download the DMI Test package.
      2. Run the SCORM Test Harness for DMI as specified here - SCORM Test Harness
      3. Check the Log to make sure this error doesn't show:
      Evaluating GetValue("cmi.scaled_passing_score") - Expected: "" - LMS Returned: ""
      ERROR: Evaluating GetLastError("") - Expected: "403" - LMS Returned: "0"

      NOTE: Many other errors are reported by this test package - this patch only addresses the issues mentioned.

      Show
      It can be tested by running the SCORM Test Harness for DMI package - Data Model Implementation Test 1. 1. Download the DMI Test package . 2. Run the SCORM Test Harness for DMI as specified here - SCORM Test Harness 3. Check the Log to make sure this error doesn't show: Evaluating GetValue("cmi.scaled_passing_score") - Expected: "" - LMS Returned: "" ERROR: Evaluating GetLastError("") - Expected: "403" - LMS Returned: "0" NOTE: Many other errors are reported by this test package - this patch only addresses the issues mentioned.

      Data Model Elements are being initialized with an empty string. Thus, a 403 errorCode is not thrown (where it should be thrown).
      The following illustrates the above -

      Evaluating GetValue("cmi.scaled_passing_score") - Expected: "" - LMS Returned: ""
      ERROR: Evaluating GetLastError("") - Expected: "403" - LMS Returned: "0"

      403 error should have been thrown since, cmi.scaled_passing_score has not been initialized (Activity 1 - DMI Test package).

            danmarsden Dan Marsden
            mayank_gupta2005 Mayank Gupta
            Dan Marsden Dan Marsden
            Aparup Banerjee Aparup Banerjee
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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