Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-7743 in 4.2.0.265.
  1. #1
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Chisinau, Moldova
    Posts
    642
    Vote Rating
    25
    vadimv will become famous soon enough vadimv will become famous soon enough

      0  

    Default [4.1.3.548] On treestore reload : Cannot read property 'internalId' of undefined

    [4.1.3.548] On treestore reload : Cannot read property 'internalId' of undefined


    I've got it in my app with 4.1.1a, you can get it easily in xml tree online example just by using:
    Code:
    document.getElementsByTagName('iframe')[0].contentWindow.Ext.ComponentManager.all.map['treepanel-1009'].store.reload()

  2. #2
    Sencha User kevin.chen's Avatar
    Join Date
    Sep 2012
    Location
    Redwood City, CA
    Posts
    242
    Vote Rating
    6
    kevin.chen is on a distinguished road

      0  

  3. #3
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Chisinau, Moldova
    Posts
    642
    Vote Rating
    25
    vadimv will become famous soon enough vadimv will become famous soon enough

      0  

    Default


    Quote Originally Posted by kevin.chen View Post
    yes.

  4. #4
    Sencha User kevin.chen's Avatar
    Join Date
    Sep 2012
    Location
    Redwood City, CA
    Posts
    242
    Vote Rating
    6
    kevin.chen is on a distinguished road

      0  

    Default


    Hi Vadim

    I can not reproduce the issue from above url.

    Can you double check it ?

    Thanks

  5. #5
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Chisinau, Moldova
    Posts
    642
    Vote Rating
    25
    vadimv will become famous soon enough vadimv will become famous soon enough

      0  

    Default


    Kevin, checked a few times, I still get it, on chrome v23, macosx 10.6.8.

    I just expand the "button" node, then in console I reload the store and I get that error, and then the button node gets frozen, I can collapsed it or expanded anymore.

    The error is thrown in Ext.view.AbstractView.updateIndexs method, below the stack:
    Code:
    • [COLOR=red !important]Uncaught TypeError: Cannot read property 'internalId' of undefined ext-all.js:21[/COLOR]
    and where is thrown:
    Code:
        updateIndexes : function(startIndex, endIndex) {
            var ns = this.all.elements,
                records = this.store.getRange(),
                i;
    
    
            startIndex = startIndex || 0;
            endIndex = endIndex || ((endIndex === 0) ? 0 : (ns.length - 1));
            for (i = startIndex; i <= endIndex; i++) {
                ns[i].viewIndex = i;
                ns[i].viewRecordId = records[i].internalId; // endIndex is bigger then lenght of the records arrayUncaught TypeError: Cannot read property 'internalId' of undefined
    
    
    
                if (!ns[i].boundView) {
                    ns[i].boundView = this.id;
                }
            }
        },

  6. #6
    Sencha User kevin.chen's Avatar
    Join Date
    Sep 2012
    Location
    Redwood City, CA
    Posts
    242
    Vote Rating
    6
    kevin.chen is on a distinguished road

      0  

    Default


    This is only reproducible after you expand a node, no matter it is 'button' or 'app'

  7. #7
    Sencha User kevin.chen's Avatar
    Join Date
    Sep 2012
    Location
    Redwood City, CA
    Posts
    242
    Vote Rating
    6
    kevin.chen is on a distinguished road

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

  8. #8
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Chisinau, Moldova
    Posts
    642
    Vote Rating
    25
    vadimv will become famous soon enough vadimv will become famous soon enough

      0  

    Default


    Quote Originally Posted by kevin.chen View Post
    This is only reproducible after you expand a node, no matter it is 'button' or 'app'
    yes, I know, I just gave you an example. Well glad you reproduced it, thx.

  9. #9
    Ext JS Premium Member
    Join Date
    Oct 2007
    Posts
    85
    Vote Rating
    4
    lagnat is on a distinguished road

      0  

    Default


    Is there any workaround, or override for this problem?

  10. #10
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Chisinau, Moldova
    Posts
    642
    Vote Rating
    25
    vadimv will become famous soon enough vadimv will become famous soon enough

      0  

    Default


    is this bug fixed in 4.2 beta ? I don't see it in release notes

Thread Participants: 2

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi