Hybrid View

  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2010
    Location
    Barcelona
    Posts
    33
    Vote Rating
    1
    deister is on a distinguished road

      0  

    Default LoadMask crash

    LoadMask crash


    Ext.LoadMask crashes:

    Code:
        <SCRIPT TYPE='text/javascript'>
            Ext.onReady( function() {
               var mask  = new Ext.LoadMask(Ext.getBody(),{msg:'hola'});
            });
    
    
        </SCRIPT>


    with the following error:

    Code:
    Uncaught TypeError: Cannot read property 'isDetachedBody' of undefined
    Ext.define.flushInvalidates                     ext-all-debug-w-comments.js:75182
    Ext.define.run                                  ext-all-debug-w-comments.js:75633
    Ext.define.statics.flushLayouts                 ext-all-debug-w-comments.js:60170
    Ext.define.statics.updateLayout                 ext-all-debug-w-comments.js:60208
    Ext.define.updateLayout                         ext-all-debug-w-comments.js:62550
    Ext.define.setSize                              ext-all-debug-w-comments.js:62491
    Ext.define.initComponent                        ext-all-debug-w-comments.js:61122
    callParent                                      ext-all-debug-w-comments.js:4933
    Ext.define.initComponent                        ext-all-debug-w-comments.js:77027
    Ext.define.constructor                          ext-all-debug-w-comments.js:61080
    callParent                                      ext-all-debug-w-comments.js:4933
    Ext.define.constructor                          ext-all-debug-w-comments.js:76986
    constructor                                     ext-all-debug-w-comments.js:5946
    Ext.define.constructor                          ext-all-debug-w-comments.js:81460
    constructor                                     ext-all-debug-w-comments.js:5946
    (anonymous function)                            index_test.html:18
    isEvent                                         ext-all-debug-w-comments.js:12414
    fire                                            ext-all-debug-w-comments.js:12556
    Ext.EventManager.fireDocReady                   ext-all-debug-w-comments.js:12691

  2. #2
    Ext JS Premium Member
    Join Date
    Sep 2010
    Posts
    9
    Vote Rating
    0
    Baumi is on a distinguished road

      0  

    Default


    I have this same issue under 4.1 pr1. Before (4.0.7) that worked fine.

  3. #3
    Sencha User
    Join Date
    Jan 2010
    Posts
    6
    Vote Rating
    -1
    Pipster123 is an unknown quantity at this point

      0  

    Default


    Error in LoadMask constructor, when setting loadmask ownerCt in case desired masked element is Ext.getBody(). I tried fiddling around with overriden constructor but so far no luck.

  4. #4
    Ext JS Premium Member
    Join Date
    Nov 2009
    Location
    San Diego, CA
    Posts
    158
    Vote Rating
    0
    locutusUT is on a distinguished road

      0  

    Default


    I am also experiencing the same condition.

  5. #5
    Ext JS Premium Member Sébastien.Volle's Avatar
    Join Date
    Apr 2011
    Location
    Grenoble, France
    Posts
    70
    Vote Rating
    0
    Sébastien.Volle is on a distinguished road

      0  

    Default


    The problem is still present in Ext JS 4.1 beta.
    aka Seboss

  6. #6
    Touch Premium Member
    Join Date
    Nov 2010
    Posts
    30
    Vote Rating
    0
    keithrust is on a distinguished road

      0  

    Default


    I'm using the latest nightly build, ext-4.1-20120122, and I'm seeing the issue still isn't fixed, but it's manifesting itself in a new location, ext-all-debug line 43354.

    Code:
        up: function(selector) {
    
    
    
            var result = this.getBubbleTarget();
            if (selector) {
                for (; result; result = result.getBubbleTarget()) {
                    if (Ext.ComponentQuery.is(result, selector)) {
                        return result;
                    }
                }
            }
            return result;
        },
    
    ext-all-debug.js:43354Uncaught TypeError: Object [object Object] has no method 'getBubbleTarget'