Hi all,
I have defined a model like this:
Ext.define('OnSite.model.Address', {
extend: 'Ext.data.Model',
fields: [
{ name: 'presentationString', mapping: 'tekst' },
{ name: 'detailLink', mapping: 'adgangsadresse.href' },
{ name: 'addressAccessId', mapping: 'adgangsadresse.id' }
]
});
It's working fin the dev environt BUT not with the testing and production. Debug and inspect the data of record having only the id property whereas the rawdata is returned correctly. I suppose there is a difference in the sencha touch lib between the dev version and the others.
Note: I am using the Sencha Touch 2.4
Cheers,
Thach