Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User makana's Avatar
    Join Date
    Apr 2008
    Location
    Dresden, Germany
    Posts
    527
    Vote Rating
    21
    makana has a spectacular aura about makana has a spectacular aura about

      0  

    Default Ext.dom.Query Exception with disabled ActiveX in IE8

    Hello guys,

    i'll post again in Bugs, since it doesn't get attention in Q&A.
    http://www.sencha.com/forum/showthre...r-issue-in-IE8

    There's an issue in Ext.dom.Query in IE8.

    If you have ActiveX disabled in your IE, then you get an error "component can't create object".

    And you have no chance to override this piece of code since it is an immediately called anonymous function. Please fix this [4.2.x].

    According to the mentioned post in Q&A, you cribbed some code from jQuery, but without the important try-catch block, which is pretty much LOL

    Ext.dom.Query
    Code:
    supportsColonNsSeparator = (function () {
        var xmlDoc,
            xmlString = '<r><a:b xmlns:a="n"></a:b></r>';
    
        if (window.DOMParser)
        {
            xmlDoc = (new DOMParser()).parseFromString(xmlString, "application/xml");
        }
        else
        {
            try
            {
                xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
                xmlDoc.loadXML(xmlString);
            }
            catch (e)
            {
                return false;
            }
        }
    
        return !!xmlDoc.getElementsByTagName('a:b').length;
    })(),
    Regards
    makana
    Programming today is a race between software engineers striving to build bigger and better іdiot-proof programs, and the universe striving to produce bigger and better idiots. So far, the universe is winning. (Rick Cook)

    Enhanced ExtJS adapter for Adobe AIR

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    9,255
    Vote Rating
    251
    Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of Gary Schlosberg has much to be proud of

      0  

    Default

    Thanks for the report. Can you please include a stand-alone test case which recreates the exception? Feel free to use our Fiddle. Thank you.


    Join me at SenchaCon 2016!

  3. #3
    Sencha User makana's Avatar
    Join Date
    Apr 2008
    Location
    Dresden, Germany
    Posts
    527
    Vote Rating
    21
    makana has a spectacular aura about makana has a spectacular aura about

      0  

    Default

    Hello Gary,

    there's no special test case needed. Just open one of your examples.

    The problem is with IE8 and deactivated ActiveX Plugins.
    So run IE8 or IE with simulated IE8 mode (document mode) and deactivate ActiveX Plugins.
    (Internet Options -> Security -> Custom Level... -> ActiveX Controls and Plugins -> Deactivate).

    You get an exception "component can't create object" at the point mentioned above.

    screenshot_20131105_003.png
    screenshot_20131105_001.png

    Regards
    Programming today is a race between software engineers striving to build bigger and better іdiot-proof programs, and the universe striving to produce bigger and better idiots. So far, the universe is winning. (Rick Cook)

    Enhanced ExtJS adapter for Adobe AIR

Thread Participants: 1