Tuesday, April 5, 2011

Ext Debug Console Not Disabled - Regression Bug in Ext JS 2.3.0

I just got hit by an annoying regression bug in Ext JS 2.3.0 (did not occur in Ext JS 2.2.1), that Ext Debug Console (Firebug Lite-lookalike) still pops up when we use:

Ext.log(...)
Ext.debug.log(...)
console.log(...)

These functions should have no visible effect when using ext-all.js (which should disable Ext Debug Console) as opposed to ext-all-debug.js (which contains Ext Debug Console).

However this pre-1.1-beta bug resurfaces in Ext JS 2.3.0.

Several alternative solutions:

  1. Upgrade to the latest 3.x Ext JS version
  2. Downgrade to Ext JS 2.2.1
  3. Remove manually the offending code in ext-all.js
  4. Comment all debugging/logging code in your application

No comments:

Post a Comment