Pachat
13 Jun 2010, 12:07 AM
I methodically added id to all the objects.
Example :
var reader_members = new Ext.data.JsonReader({
id: 'id-reader_members',Then, when updating, id: 0 is transmitted as the value within the row
{"success":true,"rows":"{\"id\":0,\"name\":\"Smith\""}and the associated action is 'create' instead of 'update'.
Of course, I removed
id: 'id-reader_members',
But the time it took to find this behaviour makes consider this as a bug :
Adding id: 'id-reader_members', should have been neutral and not disturb the xaction.
ExtJS 3.2.1
Example :
var reader_members = new Ext.data.JsonReader({
id: 'id-reader_members',Then, when updating, id: 0 is transmitted as the value within the row
{"success":true,"rows":"{\"id\":0,\"name\":\"Smith\""}and the associated action is 'create' instead of 'update'.
Of course, I removed
id: 'id-reader_members',
But the time it took to find this behaviour makes consider this as a bug :
Adding id: 'id-reader_members', should have been neutral and not disturb the xaction.
ExtJS 3.2.1