Results 1 to 3 of 3

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

    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
      0  

    Default 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
    19
      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
    11
      0  

    Default

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

    Best,
    Tommy

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •