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

AICC Import does not handle Core_Vendor

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.3
    • 1.8.7, 1.9.3, 2.0
    • SCORM
    • None
    • MOODLE_16_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

    Description

      mod/scorm/locallib.php does not process the Core_Vendor section of an AICC au file. This has been checked in current version of 1.7 and the problem persists. Can be fixed by following change to the scorm_parse_aicc() function:
      on the line following:

      ----------------------------CUT---------------------------
      $sco->masteryscore = $element->mastery_score;
      ----------------------------CUT---------------------------

      insert:

      ----------------------------CUT---------------------------
      if (!isset($element->core_vendor))

      { $element->core_vendor = ''; }

      else

      { $element->core_vendor = eregi_replace('<cr>', "\r\n", $element->core_vendor); }

      $sco->datafromlms = $element->core_vendor;
      ----------------------------CUT---------------------------

      This functionality is required for level 1 AICC compliance.

      Attachments

        1. patch.txt
          0.6 kB
        2. sample_crs.zip
          1.0 kB

        Activity

          People

            piers Piers Harding
            kstarling Keith Starling
            Dan Marsden Dan Marsden
            Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              15/Oct/08