Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-7623 in 4.2.0.265.
  1. #1
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,776
    Vote Rating
    112
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      2  

    Default [4.1.3] Store listeners not cleaned up in TreeView

    [4.1.3] Store listeners not cleaned up in TreeView


    Siesta caught some new fish:


    Code:
            treeStore.on({
                scope: me,
                beforefill: me.onBeforeFill,
                fillcomplete: me.onFillComplete,
                beforebulkremove: me.beginBulkUpdate,
                bulkremovecomplete: me.endBulkUpdate
            });
    This should be

    Code:
    this.mon(treeStore,{
                scope: me,
                beforefill: me.onBeforeFill,
                fillcomplete: me.onFillComplete,
                beforebulkremove: me.beginBulkUpdate,
                bulkremovecomplete: me.endBulkUpdate
            });
    Without it, if any other view is using this store, it'll cause issues...

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,508
    Vote Rating
    57
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      1  

    Default


    Thanks Mats!

  3. #3
    Ext JS Premium Member
    Join Date
    Dec 2010
    Location
    Luxembourg
    Posts
    199
    Vote Rating
    2
    EAHC-IT is on a distinguished road

      0  

    Default


    Quote Originally Posted by mankz View Post
    Siesta caught some new fish:


    Code:
            treeStore.on({
                scope: me,
                beforefill: me.onBeforeFill,
                fillcomplete: me.onFillComplete,
                beforebulkremove: me.beginBulkUpdate,
                bulkremovecomplete: me.endBulkUpdate
            });
    This should be

    Code:
    this.mon(treeStore,{
                scope: me,
                beforefill: me.onBeforeFill,
                fillcomplete: me.onFillComplete,
                beforebulkremove: me.beginBulkUpdate,
                bulkremovecomplete: me.endBulkUpdate
            });
    Without it, if any other view is using this store, it'll cause issues...
    Hel
    Hello, how do I patch the 4.1.3 ext-all.js with this? I can not go with the 4.2 beta for my production app...

  4. #4
    Sencha Premium Member
    Join Date
    May 2011
    Location
    San Jose, CA
    Posts
    1
    Vote Rating
    0
    kevzter is on a distinguished road

      0  

    Default Holy Cow!

    Holy Cow!


    This one was driving me nuts! I was pulling out my hair trying to figure out why I was getting the "store is null" error! Thank you! Thank you!

Thread Participants: 3