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

Launch Failure for AICC content

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.4, 2.4.5, 2.5.1
    • Fix Version/s: 2.4.6, 2.5.2
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      Hide

      Test 1:
      1.Add an AICC package to a course before this patch (contact Dan for packages if you want more packages for testing but one is attached here)
      2. Upgrade the site using the patch
      3. Enter AICC package as a student and make sure it works and no PHP Strict warning errors or other PHP errors occur.

      Test 2:
      On upgraded site add a new AICC pacakge
      1. Use Attached ZIP and load as SCORM (it is AICC course)
      2. Enter SCORM as a student and make sure the TOC and content loads.

      Show
      Test 1: 1.Add an AICC package to a course before this patch (contact Dan for packages if you want more packages for testing but one is attached here) 2. Upgrade the site using the patch 3. Enter AICC package as a student and make sure it works and no PHP Strict warning errors or other PHP errors occur. Test 2: On upgraded site add a new AICC pacakge 1. Use Attached ZIP and load as SCORM (it is AICC course) 2. Enter SCORM as a student and make sure the TOC and content loads.
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Pull from Repository:
      git@github.com:danmarsden/moodle.git
    • Pull Master Branch:
      master_MDL-37393

      Description

      AICC Content loaded using Metadata fail to launch.

      Same content launches without issue in 2.3.2

      The issue appears to be in the scorm_get_toc_get_parent_child() function on the locallib not correctly generating the child relationships so the TOC is not created correctly and so the SCORM player does not generate TOC correctly, and thus does not trigger the load of the loadsco page.

      STEPS
      1. Use Attached ZIP and load as SCORM (it is AICC course)
      2. Launch and TOC in SCORM Player will NOT display correct course structure and wont load.

      PROOF ISSUE IS WITH TOC CODE
      Edit database tables and locate the entries for the AICC course
      Edit row where orgization is mo_olpu_a02_dt_enus and identifier is A0
      Set parent = mo_olpu_a02_dt_enus from /

      NOTE: Imported data is identical in 2.3.2 so we know issue is NOT with AICC parsing

        Gliffy Diagrams

          Attachments

          1. MOODLE.zip
            2 kB
          2. screenshot-1.jpg
            screenshot-1.jpg
            95 kB
          3. screenshot-2.jpg
            screenshot-2.jpg
            71 kB
          4. screenshot-3.jpg
            screenshot-3.jpg
            30 kB
          5. screenshot-4.jpg
            screenshot-4.jpg
            40 kB

            Issue Links

              Activity

                People

                • Votes:
                  2 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    9/Sep/13