View Full Version : [FIXED] Undefined Ext.log()

21 Oct 2011, 5:03 AM
Triggered using item.setData(record.data).

sencha-touch-all-debug-w-comments.js:22810 : Uncaught TypeError: Property 'log' of object #<Object> is not a function

Fixed with :

Ext.log = function(error) { return console.error(error); }

Jamie Avins
31 Oct 2011, 10:40 AM
Thank you for the report.

3 Nov 2011, 3:05 PM
Thanks, looks like we'd been missing an alias from Ext.Logger.log to Ext.log. I've added this back now, in the meantime your workaround should be sufficient

7 Nov 2011, 1:43 PM
I've thrown that code in App.js - is that the best place to do so?

7 Nov 2011, 3:36 PM
Sure, that will do for now (it can go almost anywhere)