Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#6861 closed defect (fixed)

console.info() causing recursive logging in dojox.analytics

Reported by: guest Owned by: Dustin Machi
Priority: high Milestone: 1.2
Component: Dojox Version: 1.1.1
Keywords: analytics Cc:
Blocked By: Blocking:

Description

In dojox.analytics, the file _basejs contains the following on line 80:

console.info("post send: ", this._inTransit);

When analytics is hooked up to console messages like so:

dojo.require("dojox.analytics.plugins.consoleMessages");

The logger recursively writes data infinitely. The first request sends the data, but subsequent requests trigger off the code on line 80 and that in turn triggers when sending the request off, creating an infinite loop.

Change History (3)

comment:1 Changed 11 years ago by dylan

Owner: changed from Adam Peller to Dustin Machi

comment:2 Changed 11 years ago by Dustin Machi

Resolution: fixed
Status: newclosed

(In [14274]) remove console logger. fixes #6861

comment:3 Changed 11 years ago by bill

Milestone: 1.2

marking tickets closed in the last three months w/blank milestone to milestone 1.2.

Note: See TracTickets for help on using tickets.