Opened 13 years ago
Closed 12 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 )
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 13 years ago by
comment:2 Changed 13 years ago by
Milestone: | → 1.2 |
---|---|
Owner: | changed from Tom Trenka to alex |
comment:3 Changed 13 years ago by
Component: | Dojox → DojoX Cometd |
---|---|
Description: | modified (diff) |
comment:4 Changed 13 years ago by
Owner: | changed from alex to Kris Zyp |
---|
comment:5 Changed 13 years ago by
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){
this._cometd._publishMeta("publish",false,{messages:messages});
}),
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 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Greg, should I reassign this to Alex?