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:
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:
- Upgrade to the latest 3.x Ext JS version
- Downgrade to Ext JS 2.2.1
- Remove manually the offending code in ext-all.js
- Comment all debugging/logging code in your application
No comments:
Post a Comment