Opened 12 years ago

Closed 12 years ago

#4244 closed defect (wontfix)

dojox.widget.Loader misbehaviour when cometd is active

Reported by: guest Owned by: dante
Priority: high Milestone:
Component: Dojox Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

when using dojox.widget.Loader and at the same time dojox.cometd with long-polling is active, then the loader widget is always displaying loading status (because cometd is actually waiting for response)

Tis makes the Loader widget unusable in a cometd app.

Here are the "offending" lines from Loader.js:

this._xhrStart = dojo.connect(dojo,"_ioSetArgs",this,"_show"); this._xhrEnd = dojo.connect(dojo.Deferred.prototype,"_fire",this,"_hide");

A test case can not be supplied because cometd needs a server part, but I would be happy to volunteer for testing possible solutions !

Roberto

Change History (2)

comment:1 Changed 12 years ago by dante

Owner: changed from Tom Trenka to dante
Status: newassigned

want to mark this as 'wontfix' because it seems that this is the intended bahavior of the widget (display when connections are open or inflight) which with cometd they are.

comment:2 Changed 12 years ago by dante

Resolution: wontfix
Status: assignedclosed
Note: See TracTickets for help on using tickets.