PDA

View Full Version : [FIXED-196] JsonStores broken in 0.9.3 (maybe 0.9.2 as well)



jeroenvduffelen
3 Aug 2010, 7:17 AM
Ayaaa... damn guys spend the whole day digging my code - but this a serious Sencha Touch bug:

The Map object, and the Keys array of the Data object inside a JsonStore (don't know if other stores have the same problem) are broken... The Map object is completely empty and the Keys array only contains undefined values.

Please get this fixed asap cause it's a quite crucial part of the data core - I think.

I got this problem when I upgraded from 0.9.1. to 0.9.3 - so I'm back to 0.9.1. again.

Jamie Avins
3 Aug 2010, 9:03 AM
Do you have a test case or one of our example that has the issue?

jeroenvduffelen
3 Aug 2010, 11:57 AM
Sure, in the official examples folder, open the "list" example.

In this example, do console.log(groupingBase) and inspect the "data" object inside the "store" object.

Of course add the console.log at the end of the JS file after:



if (!Ext.platform.isPhone) {
new Ext.List(Ext.apply(groupingBase, {
floating: true,
width: 350,
height: 370,
centered: true,
modal: true,
hideOnMaskTap: false
})).show();
}
else {
new Ext.List(Ext.apply(groupingBase, {
fullscreen: true
}));
}

TommyMaintz
3 Aug 2010, 1:28 PM
Thanks for the bug report. This will be fixed in the next release.

jeroenvduffelen
3 Aug 2010, 1:39 PM
Cool! Keep up the good work!

edspencer
4 Sep 2010, 1:24 PM
Thanks for the report, this has now been fixed and will be present in the next release.