Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Touch Premium Member
    Join Date
    Jan 2008
    Location
    Quebec, Canada
    Posts
    122
    Vote Rating
    1
    nbourdeau is on a distinguished road

      0  

    Exclamation [Ext 4.1.0] childItems is undefined

    [Ext 4.1.0] childItems is undefined


    Hi all,

    Just gessing here if someone could help ! We have this intermittent error in a relatively big application.
    The layout crashes sometimes in "Ext.layout.container.Fit" at line 151:

    Code:
    // @private
        calculate : function (ownerContext) {
            var me = this,
                childItems = ownerContext.childItems, // childItems is undefined !!!!
                length = childItems.length,
    It's like my container doesn't have items ... but it happens in a Grid !!
    I'm not supposed to configure a layout or add items in a Grid ....

    Any idea on how to troubleshoot this ?

    Thanks!

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,621
    Vote Rating
    581
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Out out context it's almost impossible to say. Can you reduce it to a simple test case?
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Touch Premium Member
    Join Date
    Jan 2008
    Location
    Quebec, Canada
    Posts
    122
    Vote Rating
    1
    nbourdeau is on a distinguished road

      0  

    Default


    Quote Originally Posted by evant View Post
    Out out context it's almost impossible to say. Can you reduce it to a simple test case?
    Well that is the problem ... it is really hard! I will try to reduce it to a more simple test.
    I will also try to post the result of the page analyzer.

  4. #4
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,621
    Vote Rating
    581
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    One question would be, are you triggering a layout inside another layout cycle?
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  5. #5
    Touch Premium Member
    Join Date
    Jan 2008
    Location
    Quebec, Canada
    Posts
    122
    Vote Rating
    1
    nbourdeau is on a distinguished road

      0  

    Default


    Quote Originally Posted by evant View Post
    One question would be, are you triggering a layout inside another layout cycle?
    No I'm not triggering a layout cycle. I actually found out that it is related to the state restore mechanism (which we heavily use). I have not found the real cause for now... still investigating!

    Also, I found out in the process that the state save / restore behavior changed for the grid columns in 4.1. We now have to use stateId instead of headerId !

  6. #6
    Touch Premium Member
    Join Date
    Jan 2008
    Location
    Quebec, Canada
    Posts
    122
    Vote Rating
    1
    nbourdeau is on a distinguished road

      0  

    Default


    So I found the problem. Don't know if it is a bug or a misconfiguration ...
    When setting collapsedMode: 'header' on a grid in a BorderLayout, if the grid starts with collapsed: true, the layout crashes with the error above !

  7. #7
    Touch Premium Member
    Join Date
    Jan 2008
    Location
    Quebec, Canada
    Posts
    122
    Vote Rating
    1
    nbourdeau is on a distinguished road

      0  

    Exclamation


    Simple TEST case for the collapseMode bug :
    removing "collaped: true" on the West Grid, the layout is ok...

    Code:
    Ext.onReady(function() {
                var p = Ext.create('Ext.Panel', {
                    height: 600,
                    width: 800,
                    title: 'Test',
                    renderTo: Ext.getBody(),
                    layout: 'border',
                    items: [{
                        title: 'West',
                        region: 'west',
                        width: 300,
                        animCollapse: false,
                        collapsible: true,
                        collapsed: true,
                        collapseMode: 'header',
                        split: true,
                        weight: 10,
                        xtype: 'grid',
                        columns: [{text: 'col 1'}, {text: 'col 2'}]
                    },{
                        xtype: 'grid',
                        title: 'North',
                        animCollapse: false,
                        collapsible: true,
                        collapseMode: 'header',
                        height: 200,
                        region: 'north',
                        weight: 1,
                        split: true,
                        columns: [{text: 'col 1'}, {text: 'col 2'}]
                    },{
                        xtype: 'grid',
                        region: 'center',
                        split: true,
                        columns: [{text: 'col 1'}, {text: 'col 2'}],
                        title: 'Center'
                    }]
                });
            });

  8. #8
    Touch Premium Member
    Join Date
    Jan 2008
    Location
    Quebec, Canada
    Posts
    122
    Vote Rating
    1
    nbourdeau is on a distinguished road

      0  

    Exclamation


    Removing 'header' collapseMode now introduces a new bug in my layout when starting collapsed ...
    See attached screenshot (duplicate headers).
    Sommeday have already seen this ?
    I'm not able to reproduce with a simple test case ... I don't understand what is wrong !

    Screenshot.png

  9. #9
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,621
    Vote Rating
    581
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    I can confirm on 4.1.0, however it appears to be fixed for 4.1.1RC1, suggest you check it out.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1