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

TOC with a deep hierarchy seems not to be well supported in Internet Explorer 9

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.2.5, 2.3.2, 2.4
    • Fix Version/s: None
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      Hide
      1. (Opt) Create an empty course on a Moodle instance running the standard theme
      2. Add a new SCORM/AICC Activity using the attached SCORM package, p213680.zip. Please note that the package is intentionally broken: it doesn't include any of the HTML items registered into the imsmanifest.xml, just the TOC
      3. Launch this Activity using Internet Explorer 9: at the very first attempt the TOC must be first rendered as a plain HTML Unordered List and then within few seconds rebuilt under the skin of the TreeView Widget, without cutting the original TOC at the item Automatisering > Even tessten? > Oefening 2
      4. Test some QA packages to verify there's no regression in the TOC rendering.

      The issue has been replicated by me in 2.4 and by the user from the Community in 2.3.2. I was not able to replicate it in 2.2. and 2.3.
      If it will happen to the tester too, please use the following test steps:

      1. (Opt) Create an empty course on a Moodle instance running the standard theme
      2. Add a new SCORM/AICC Activity using the attached SCORM package, p213680.zip: you must set Display course structure on entry page to Yes. Please note that the package is intentionally broken: it doesn't include any of the HTML items registered into the imsmanifest.xml, just the TOC.
      3. Launch the Activity, no matter what browser you'll use: you'll see at the bottom, in the box Contents, the supposed working TOC
      4. Grab the HTML source and copy the UL/LI structure starting from the first <ul> just after <div class="structurehead">Contents</div> up to the last </ul> just before </div> <div class="scorm-center">
      5. Save it in a text file named e.g. toc-<22,23,master>.xml
      6. Replace each &nbsp; with e.g. +
      7. Parse that XML file to check for errors, by means of e.g.:
        • xmlint
        • using XML Notepad 2007
        • double clicking on it to let your preferred browser opening it
      Show
      (Opt) Create an empty course on a Moodle instance running the standard theme Add a new SCORM/AICC Activity using the attached SCORM package, p213680.zip. Please note that the package is intentionally broken: it doesn't include any of the HTML items registered into the imsmanifest.xml , just the TOC Launch this Activity using Internet Explorer 9: at the very first attempt the TOC must be first rendered as a plain HTML Unordered List and then within few seconds rebuilt under the skin of the TreeView Widget , without cutting the original TOC at the item Automatisering > Even tessten? > Oefening 2 Test some QA packages to verify there's no regression in the TOC rendering. The issue has been replicated by me in 2.4 and by the user from the Community in 2.3.2. I was not able to replicate it in 2.2. and 2.3. If it will happen to the tester too, please use the following test steps: (Opt) Create an empty course on a Moodle instance running the standard theme Add a new SCORM/AICC Activity using the attached SCORM package, p213680.zip: you must set Display course structure on entry page to Yes . Please note that the package is intentionally broken: it doesn't include any of the HTML items registered into the imsmanifest.xml , just the TOC. Launch the Activity, no matter what browser you'll use: you'll see at the bottom, in the box Contents , the supposed working TOC Grab the HTML source and copy the UL/LI structure starting from the first <ul> just after <div class="structurehead">Contents</div> up to the last </ul> just before </div> <div class="scorm-center"> Save it in a text file named e.g. toc-<22,23,master>.xml Replace each &nbsp; with e.g. + Parse that XML file to check for errors, by means of e.g.: xmlint using XML Notepad 2007 double clicking on it to let your preferred browser opening it
    • Affected Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:

      Description

      Under some circumstances - it seems a TOC with several items up to the 3rd level in the hierarchy - Internet Explorer 9 cuts off the TOC on rendering the YUI TreeView widget.

      Maybe another issue in mod/scorm/localib.php::scorm_get_toc()?

        Attachments

        1. What_IE9_using_F12_reports_for_the_UL_LI_sequence.jpg
          73 kB
          Matteo Scaramuccia

          Issue Links

            Activity

              People

              • Assignee:
                danmarsden Dan Marsden
                Reporter:
                matteo Matteo Scaramuccia
                Participants:
                Component watchers:
                Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: