View Full Version : [FIXED][3.0.0] Error on new Ext.data.JsonReader()

20 Jul 2009, 8:56 AM
You can't create a new Ext.data.JsonReader() with no arguments.
It dies on line 14024 of ext-all-debug trying to create a Record in buildExtractors but there is no record.
I can avoid this error by changing my code to include empty arguments i.e.
new Ext.data.JsonReader({}, [] )
I have no record or meta to provide when the object is defined because all my grids use metadata stored in the remote DB. The metadata is acquired onRender.
This was perfectly fine in 2.2.1

Rather than offend anyone and get into semantic tussles if this is not a *bug* then please move this post to the V3 migration thread.

20 Jul 2009, 9:17 AM
Thanks for the bug report, marking this as OPEN.

21 Jul 2009, 1:19 PM
A tentative fix for this has been committed to the the trunk branch (rev 4881).