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

Turning on XML strict for debugging leads to javascript errors in dock.js and also in YUI .

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Navigation
    • Labels:
      None
    • Environment:
      Anomaly theme
    • Difficulty:
      Difficult
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      A YUI call (made by the dock) is breaking navigation when XML strict headers is turned on in debugging.
      i could get back to turning XML strict off with the search thanks to Sam.

      uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMNSHTMLElement.innerHTML]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: http://aparup.moodle.local/m20/dev1/moodle/theme/yui_combo.php?3.1.1/build/yui/yui-base-debug.js&3.1.1/build/oop/oop-debug.js&3.1.1/build/dom/dom-debug.js&3.1.1/build/yui/yui-later-debug.js&3.1.1/build/event-custom/event-custom-base-debug.js&3.1.1/build/event/event-base-debug.js&3.1.1/build/pluginhost/pluginhost-debug.js&3.1.1/build/event/event-delegate-debug.js&3.1.1/build/node/node-debug.js&3.1.1/build/yui/get-debug.js&3.1.1/build/loader/loader-debug.js :: anonymous :: line 3103" data: no]

      tried updates & clearing caches to no avail.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                samhemelryk Sam Hemelryk
                Reporter:
                nebgor Aparup Banerjee
                Tester:
                Nobody
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  24/Nov/10