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.

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #11
    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


    Can't confirm this on 4.1b2, I used the following test:

    Code:
    Ext.onReady(function() {
    
        var store = Ext.create('Ext.data.Store', {
            fields: ['a'],
            proxy: {
                type: 'ajax',
                url: 'data.json',
                reader: {
                    type: 'json',
                    root: 'data'
                },
                listeners: {
                    exception: function(){
                        console.log('fail');
                    }
                }
            }    
        });
        store.load();
    });
    
    // Server data
    {
        "success": false,
        "data": []
    }
    The log() ends up being fired.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  2. #12
    Touch Premium Member
    Join Date
    Jan 2011
    Location
    Lisbon, Portugal
    Posts
    192
    Vote Rating
    0
    jmaia is on a distinguished road

      0  

    Default


    Hi,

    Don't use root: data on the reader on your test, try with root: data.someProperty and then have the server return a result with success: false and data: null.

    That's the problem I'm having on my side.

    Regards,

    Joao Maia

  3. #13
    Touch Premium Member
    Join Date
    Jan 2011
    Location
    Lisbon, Portugal
    Posts
    192
    Vote Rating
    0
    jmaia is on a distinguished road

      0  

    Default


    I forgot to mention, I'm using 4.0.7 and not 4.1 b2.

    Regards,

    Joao Maia

  4. #14
    Touch Premium Member
    Join Date
    Jan 2011
    Location
    Lisbon, Portugal
    Posts
    192
    Vote Rating
    0
    jmaia is on a distinguished road

      0  

    Default


    Any feedback on this issue ? I couldn't help noticing that it is marked [CLOSED] even though I have provided some more information about it.

    Regards,

    jm

  5. #15
    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 tried it with the extra information, the bug isn't present on B2:

    Code:
    Ext.onReady(function() {
    
        var store = Ext.create('Ext.data.Store', {
            fields: ['a'],
            proxy: {
                type: 'ajax',
                url: 'data.json',
                reader: {
                    type: 'json',
                    root: 'data.foo'
                },
                listeners: {
                    exception: function() {
                        console.log('fail');
                    }
                }
            }
        });
        store.load();
    });
    
    //
    {
        "success": false,
        "data": null
    }
    As such, leaving this as closed.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  6. #16
    Touch Premium Member
    Join Date
    Jan 2011
    Location
    Lisbon, Portugal
    Posts
    192
    Vote Rating
    0
    jmaia is on a distinguished road

      0  

    Default


    Ok, I'll wait for the official release of 4.1 then.

    Thanks,

    jm

Thread Participants: 2