You found a bug! We've classified it as EXTJS-11649 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User makana's Avatar
    Join Date
    Apr 2008
    Location
    Dresden, Germany
    Posts
    526
    Vote Rating
    17
    makana has a spectacular aura about makana has a spectacular aura about

      0  

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

    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
    2,501
    Vote Rating
    53
    Gary Schlosberg has a spectacular aura about Gary Schlosberg has a spectacular aura about Gary Schlosberg has a spectacular aura about

      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.
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our recruiting manager: sheryl@sencha.com

  3. #3
    Sencha User makana's Avatar
    Join Date
    Apr 2008
    Location
    Dresden, Germany
    Posts
    526
    Vote Rating
    17
    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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar