Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-3802 in a recent build.
  1. #1
    Sencha User
    Join Date
    Dec 2012
    Posts
    13
    Vote Rating
    1
    artsiom_aliakseyenka is on a distinguished road

      1  

    Default DataView doesn't destroy store, created by default

    DataView doesn't destroy store, created by default


    REQUIRED INFORMATION




    Ext version tested:
    • Sencha Touch 2.1
    Browser versions tested against:
    • Chrome 23(Windows)
    Description:
    • By default Ext.data.Store is created with autoDestroy set to false.
    • When DataView is created with config, which contains only data option, then DataView will create Store for this data.
    • When DataView is destroyed, this Store will be never destroyed, because its autoDestroy option is set to false.
    Steps to reproduce the problem:
    • Create DataView with specified data in the config
    • Call DataView.destroy()-> DataView is destroyed, but store is cached in Ext.StoreManager
    The result that was expected:
    • Store created by DataView should be destroyed
    The result that occurs instead:
    • Store created by DataView is not destroyed
    Test Case:


    Code:
            var data = [
                {firstName: 'Ed',    lastName: 'Spencer'},
                {firstName: 'Tommy', lastName: 'Maintz'},
                {firstName: 'Aaron', lastName: 'Conran'},
                {firstName: 'Jamie', lastName: 'Avins'}
            ];
            
            var view = Ext.create('Ext.DataView', {
                fullscreen: true,
                data:data,
                itemTpl: '{firstName} {lastName}'
            });
            view.destroy();
            Ext.ComponentManager.map // no reference to dataview
            Ext.StoreManager.map // contains ext-data-store-1 created by view

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,754
    Vote Rating
    827
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


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

Thread Participants: 1

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