Results 1 to 4 of 4

Thread: [4.1.3] Store listeners not cleaned up in TreeView

    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
    3,015
    Vote Rating
    182
      2  

    Default [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,607
    Vote Rating
    59
      1  

    Default

    Thanks Mats!

  3. #3
    Ext JS Premium Member
    Join Date
    Dec 2010
    Location
    Luxembourg
    Posts
    219
    Vote Rating
    2
      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
      0  

    Default 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!

Posting Permissions

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