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

      0  

    Default Ext.data.JsonP has no Context to the Request Object - missing 'Options'

    Ext.data.JsonP has no Context to the Request Object - missing 'Options'


    Using Ext.Ajax.request, I got the options object submitted with the callback for post processing.

    On Ext.data.JsonP this behavior is missing.

    To patch this, I recommend to give the whole request object (which is available in the callback context) to the callback methods (success, failure, callback) as a second parameter.

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report.

    Sencha Inc

    Jamie Avins

    @jamieavins

  3. #3
    Sencha User
    Join Date
    Mar 2007
    Location
    Haarlem, Netherlands
    Posts
    1,243
    Vote Rating
    10
    TommyMaintz will become famous soon enough TommyMaintz will become famous soon enough

      0  

    Default


    Good tip! I've added the request object as the last argument to each one of the callbacks.

    Best,
    Tommy

Thread Participants: 2

Tags for this Thread