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

Launch Failure for AICC content

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.4, 2.4.5, 2.5.1
    • 2.4.6, 2.5.2
    • SCORM
    • MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE
    • git@github.com:danmarsden/moodle.git
    • master_MDL-37393
    • 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.

    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

      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

              danmarsden Dan Marsden
              jirauser25334 user-4b423 (Inactive)
              Matteo Scaramuccia Matteo Scaramuccia
              Dan Poltawski Dan Poltawski
              Adrian Greeve Adrian Greeve
              Dan Marsden, Matteo Scaramuccia, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Sep/13