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.

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Oct 2011
    Location
    Paris, France
    Posts
    187
    Vote Rating
    3
    olouvignes is on a distinguished road

      0  

    Default ST 2.0.1 - Store.load() does not update nested (hasMany) relationship

    ST 2.0.1 - Store.load() does not update nested (hasMany) relationship


    When using myStore.load() i do not get an updated nested store. This seems to be a bug as I can't find a way to do this otherwise/manually.

    Config of the model :

    Code:
    config: {
    
    
        idProperty: '_id',
    
    
        fields: [
            {name: "_id", type: "string"},
            {name: "email", type: "string"},
            {name: "firstName", type: "string"},
            {name: "lastName", type: "string"},
            //{name: "cards", inner: true},
        ],
    
    
        hasMany: [{ model: app.ns + '.model.Card', name: 'cards', primaryKey: '_id', foreignKey: 'user_id' }],
    
    
        proxy: {
            type: 'rest',
            url : app.ep + '/users',
            enablePagingParams: false,
            reader: {
                type: 'json',
                rootProperty: 'data'
            }
        }
    
    
    },

  2. #2
    Sencha Premium Member
    Join Date
    Oct 2011
    Location
    Paris, France
    Posts
    187
    Vote Rating
    3
    olouvignes is on a distinguished road

      0  

    Default


    This seems to fill my needs, but not sure there is no side effects.

    Code:
    {name: "cards", inner: true, convert: function(v, record) { record.cards().removeAll(); record.cards().setData(v); return v; }},