Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member westy's Avatar
    Join Date
    Feb 2009
    Location
    Bath, UK
    Posts
    905
    Vote Rating
    40
    westy is a jewel in the rough westy is a jewel in the rough westy is a jewel in the rough

      0  

    Default [FIXED-EXTJSIV-201] ServerProxt exception event

    [FIXED-EXTJSIV-201] ServerProxt exception event


    Assume this is related to the TODO comment a few lines down, but there is currently nothing useful in the exception event raised from processResponse.

    Code:
    me.fireEvent('exception', this, response, operation);
    
    //TODO: extract error message from reader
    operation.setException();
    Cheers,
    Westy

    PS: Oops, typo in title :/

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,915
    Vote Rating
    630
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    All the info you need is in the response. If success is false it means the HTTP request failed for whatever reason, you can get response.status & response.statusText.

    I've modified the proxy so it also passes the status/statusText to the operation as well.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Ext JS Premium Member westy's Avatar
    Join Date
    Feb 2009
    Location
    Bath, UK
    Posts
    905
    Vote Rating
    40
    westy is a jewel in the rough westy is a jewel in the rough westy is a jewel in the rough

      0  

    Default


    I was seeing an undefined response for some reason.
    My serverside at the time was throwing a not implemented exception.

    Anyway, thanks for the fix Evan

  4. #4
    Ext JS Premium Member westy's Avatar
    Join Date
    Feb 2009
    Location
    Bath, UK
    Posts
    905
    Vote Rating
    40
    westy is a jewel in the rough westy is a jewel in the rough westy is a jewel in the rough

      0  

    Default


    Still getting an undefined response passed through to processResponse with beta 1.

    Will look into it more in a bit; got another issue to resolve first...

    Edit: Posted details here

Similar Threads

  1. [FIXED-EXTJSIV-198] DirectSubmit not sending data
    By mitchellsimoens in forum Ext:Bugs
    Replies: 3
    Last Post: 16 Feb 2012, 6:16 AM
  2. [FIXED-EXTJSIV-191] Component.js typos
    By LesJ in forum Ext:Bugs
    Replies: 1
    Last Post: 21 Mar 2011, 3:12 PM
  3. [FIXED-334] Proxy Event 'exception' Never Firing
    By Shane F in forum Sencha Touch 1.x: Bugs
    Replies: 5
    Last Post: 28 Sep 2010, 6:22 PM
  4. Replies: 4
    Last Post: 18 Aug 2009, 11:13 AM
  5. [OPEN] [FIXED][3.0rc2] JsonStore exception event
    By oddy in forum Ext 3.x: Bugs
    Replies: 18
    Last Post: 13 Jul 2009, 9:20 AM

Thread Participants: 1