1. #1
    Ext JS Premium Member
    Join Date
    Oct 2010
    Posts
    81
    Vote Rating
    1
    rhamflett is on a distinguished road

      0  

    Default Direct action when server crashes

    Direct action when server crashes


    I've been testing out what happens in the browser if the server goes down whilst handling a Direct function call. I'm using 3.3.1 and in ext-all-debug.js on line 26274 in the createEvent function, there is a reference to response.data which throws an error because response is null. Is there an intended way to hook events for what happens if the server goes down? At the moment I don't know how to handle this error.

    Thanks,
    Rob

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    Sounds like a bug. Ext shouldn't throw an exception with a null response, it should treat it as a request failure.

  3. #3
    Ext JS Premium Member
    Join Date
    Oct 2010
    Posts
    81
    Vote Rating
    1
    rhamflett is on a distinguished road

      0  

    Default


    Do you want me to post a full report in the bugs forum then?

  4. #4
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    Yes. Is there some way you can make this reproducible, otherwise this is going to be hard to track down.

  5. #5
    Ext JS Premium Member
    Join Date
    Oct 2010
    Posts
    81
    Vote Rating
    1
    rhamflett is on a distinguished road

      0  

    Default


    I just put a breakpoint on the server-side code, and when it hits I kill the process. I'll add a bug report.

Similar Threads

  1. Ext.Direct - Server-side Stacks
    By aconran in forum Ext.Direct
    Replies: 94
    Last Post: 28 Nov 2013, 7:01 PM
  2. After requesting server crashes and EXTjs's failure does not send alert of failed
    By andredecotia in forum Ext 3.x: Help & Discussion
    Replies: 8
    Last Post: 11 Jan 2011, 9:00 AM
  3. Ext Direct comet/push from server support?
    By chadsmall in forum Ext.Direct
    Replies: 0
    Last Post: 18 Sep 2010, 6:02 PM
  4. Passing extra parameters to Direct Action URL.
    By ahmed.alami in forum Ext.Direct
    Replies: 0
    Last Post: 18 Aug 2010, 9:04 AM
  5. Replies: 8
    Last Post: 25 Jan 2010, 7:35 PM

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar