Opened 14 years ago

Closed 13 years ago

#5352 closed defect (fixed)

json callback transport for cometd does not handle errors

Reported by: gregwilkins Owned by: Kris Zyp
Priority: high Milestone: 1.2
Component: DojoX Cometd Version: 1.0
Keywords: cometd Cc:
Blocked By: Blocking:

Description (last modified by alex)

The error handlers of the json callback transport are not invoked on comms failures. So the retry advice is never followed.

An alternate mechanism for detecting failures is needed for this transport.

Change History (6)

comment:1 Changed 14 years ago by Tom Trenka

Greg, should I reassign this to Alex?

comment:2 Changed 14 years ago by dylan

Milestone: 1.2
Owner: changed from Tom Trenka to alex

comment:3 Changed 14 years ago by alex

Component: DojoxDojoX Cometd
Description: modified (diff)

comment:4 Changed 14 years ago by Kris Zyp

Owner: changed from alex to Kris Zyp

comment:5 Changed 14 years ago by Kris Zyp

Greg, I was trying to look into this issue, but I am not sure I understand the problem. It looks like when there is a communication error, that the handler on line 70 in callbackPollTransport.js is called with a timeout error:

error: dojo.hitch(this, function(err){



Is there a different handler you are expecting to be called? Or are you wanting more immediate error rather than a timeout error?

comment:6 Changed 13 years ago by Kris Zyp

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.