Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: [4.0.2a] Bug in Element.slideIn

    This duplicates another bug already reported in our system: EXTJS-3637
  1. #11
    Sencha User edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939

    Default

    Quote Originally Posted by westy View Post
    Whatever you do in 4.1 I implore you to test in old versions of IE (at least 7 & 8), and stuff more complex than many of your examples. Issues tend to crop up very quickly.
    We're doing a lot of work around that at the moment. It's taken a few iterations but I think we're getting to the right place with our automated visual and performance testing. The system that we're building out runs our full unit test suite, render test suite and (soon) performance test suite on every commit, *before* it's pulled into trunk.

    The rendering tests used to just be the examples folder but we're changing that to be a series of gigantic pages with all possible component configurations laid out and compared with a reference. It's going to take a little time to finish building that out but that's our mission. At the moment though it's already enormously more bullet proof than when we shipped 4.0.0. Top 2 priorities at the moment are fixing performance (4.1.x) and clearing out the bug list (4.0.x). Making good progress on both
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

  2. #12
    Sencha Premium User westy's Avatar
    Join Date
    Feb 2009
    Location
    Bath, UK
    Posts
    1,038

    Default

    Good to hear you're hard at work, and making progress
    Hope the new testing strategies catch lots of issues...
    Product Architect
    Altus Ltd.

  3. #13
    Ext JS Premium Member
    Join Date
    Jun 2011
    Posts
    114

    Default

    Did you resolve? any workaround for this error.

    I am getting this error when i do a move on my tree nodes too. could you please let me know if there is any work around.

    Message: Unable to get value of the property 'insertBefore': object is null or undefined
    Line: 15
    Char: 159448
    Code: 0
    URI: http://hello/Manager/extjs/ext-all.js.gz

  4. #14
    Sencha Premium User westy's Avatar
    Join Date
    Feb 2009
    Location
    Bath, UK
    Posts
    1,038

    Default

    My workaround is in this thread.
    Product Architect
    Altus Ltd.

  5. #15
    Sencha User
    Join Date
    Dec 2016
    Posts
    1

    Default

    Ext.override(Ext.dom.Element, {
    insertSibling: function(el, where, returnDom) {
    var me = this,
    DomHelper = Ext.core.DomHelper,
    oldUseDom = DomHelper.useDom,
    isAfter = (where || 'before').toLowerCase() == 'after',
    rt, insertEl, eLen, e;


    if (Ext.isArray(el)) {
    // append all elements to a documentFragment
    insertEl = Ext.fly(document.createDocumentFragment(), '_internal');
    eLen = el.length;


    // DocumentFragments cannot accept innerHTML
    DomHelper.useDom = true;
    for (e = 0; e < eLen; e++) {
    rt = insertEl.appendChild(el[e], returnDom);
    }
    DomHelper.useDom = oldUseDom;


    // Insert fragment into document
    me.dom.parentNode.insertBefore(insertEl.dom, isAfter ? me.dom.nextSibling : me.dom);
    return rt;
    }


    el = el || {};


    if (el.nodeType || el.dom) {
    rt = me.dom.parentNode.insertBefore(Ext.getDom(el), isAfter ? me.dom.nextSibling : me.dom);
    if (!returnDom) {
    rt = Ext.get(rt);
    }
    } else {
    if (isAfter && !me.dom.nextSibling) {
    rt = DomHelper.append(me.dom.parentNode, el, !returnDom);
    } else {
    rt = DomHelper[isAfter ? 'insertAfter' : 'insertBefore'](me.dom, el, !returnDom);
    }
    }
    return rt;
    }

    })

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •