21 Mar 2011 2:57 AM #1
[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.
me.fireEvent('exception', this, response, operation); //TODO: extract error message from reader operation.setException();
PS: Oops, typo in title :/
21 Mar 2011 7:51 PM #2
- Join Date
- Apr 2007
- Sydney, Australia
- Vote Rating
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
Twitter - @evantrimboli
Don't be afraid of the source code!
21 Mar 2011 11:35 PM #3
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
31 Mar 2011 2:15 AM #4
By mitchellsimoens in forum Ext:BugsReplies: 3Last Post: 16 Feb 2012, 6:16 AM
By LesJ in forum Ext:BugsReplies: 1Last Post: 21 Mar 2011, 3:12 PM
By Shane F in forum Sencha Touch 1.x: BugsReplies: 5Last Post: 28 Sep 2010, 6:22 PM
By Tewr in forum Ext 3.x: BugsReplies: 4Last Post: 18 Aug 2009, 11:13 AM
By oddy in forum Ext 3.x: BugsReplies: 18Last Post: 13 Jul 2009, 9:20 AM