PDA

View Full Version : [CLOSED] Ext.data.writer.Writer getRecordData bug on date fields



divad
20 May 2012, 3:26 PM
In Ext.data.writer.Writer getRecordData function


getRecordData: function(record) {

...

if (fieldConfig.type.type == 'date') {
value = this.writeDate(fieldConfig, value);
}

...

if (fieldConfig.type.type == 'date') {
value = this.writeDate(fieldConfig, value);
}

...

}

there is a typo fieldConfig.type.type should be fieldConfig.type, otherwise it does not work.

mitchellsimoens
21 May 2012, 5:16 AM
This has already been fixed for the next release.