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
    Mar 2012
    Posts
    34
    Vote Rating
    0
    Nxs is on a distinguished road

      0  

    Exclamation Missing "operation" argument in Store Load Event

    Missing "operation" argument in Store Load Event


    Since last Architect update (2.1.0 B676), "operation" argument is removed, why ?


    How can I catch "operation.error" property when store load fails ?

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,185
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


    What framework?
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    34
    Vote Rating
    0
    Nxs is on a distinguished road

      0  

    Default


    ExtJS 4.1.3.425

    Even in the API's doc the parameter doesn't appear anymore :
    http://docs.sencha.com/ext-js/4-1/#!...ore-event-load

  4. #4
    Sencha Premium Member
    Join Date
    Mar 2012
    Posts
    34
    Vote Rating
    0
    Nxs is on a distinguished road

      0  

    Default


    Bump

  5. #5
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,185
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


    Quote Originally Posted by Nxs View Post
    ExtJS 4.1.3.425

    Even in the API's doc the parameter doesn't appear anymore :
    http://docs.sencha.com/ext-js/4-1/#!...ore-event-load
    We base our definitions off of the documentation. It looks like there was an error (or a change). We'll investigate.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  6. #6
    Sencha - Architect Dev Team jjohnston's Avatar
    Join Date
    Sep 2010
    Posts
    284
    Vote Rating
    5
    jjohnston will become famous soon enough

      0  

    Default


    This is more of a framework question than an Architect question, but I think the store's load event does not include the Operation object because an Operation is closely tied to a Proxy, and the load event can be fired by stores that do not have a proxy.

    You should take my advice with a grain of salt, and follow up in the Ext JS forums if it doesn't work, but I would look into the 'exception' event fired by the proxy: http://docs.sencha.com/ext-js/4-1/#!...vent-exception
    Jason Johnston
    @lojjic
    Sencha Architect Development Team

Tags for this Thread