Hybrid View

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha Premium Member
    Join Date
    Sep 2012
    Posts
    69
    Vote Rating
    6
    zz9pa is on a distinguished road

      0  

    Default Ext.data.DirectStore doesn't copy in all require config settings

    Ext.data.DirectStore doesn't copy in all require config settings


    Description: Ext.data.Directstore doesnt copy in some settings
    • I have a common Ext.Direct return class which has 'errMsg' as the 'message' property, there is no simple way to set this


    Steps to reproduce the problem:
    Create a store with a different successProperty or messageProperty




    Test Case:


    Code:
     store = Ext.create('Ext.data.DirectStore', {
         model: modelName,
         limit: nrows,
         autoLoad: false,
         paramOrder: directParamOrder,
         root: 'item',
         totalProperty: 'totalCount',
         messageProperty: 'errorMsg',
         batchActions:false,    
         directFn: someDirect.function
     });





    HELPFUL INFORMATION








    Debugging already done:
    • yes


    Possible fix:
    • change the copyTo from :

      Ext.copyTo(proxy.reader, config, 'totalProperty,root,idProperty');
      to include the extra properties..

      Ext.copyTo(proxy.reader, config, 'totalProperty,root,idProperty,successProperty,messageProperty');

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Vote Rating
    751
    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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar