PDA

View Full Version : [UNKNOWN][3.1] Ext.data.DirectProxy - functionality broken



ThorstenSuckow
4 Jan 2010, 9:30 AM
Any reason this



doRequest : function(action, rs, params, reader, callback, scope, options) {
var args = [];
var directFn = this.api[action] || this.directFn;

switch (action) {
case Ext.data.Api.actions.create:
args.push(params.jsonData[reader.meta.root]); // <-- create(Hash)
break;
...


was changed to this:



doRequest : function(action, rs, params, reader, callback, scope, options) {
var args = [],
directFn = this.api[action] || this.directFn;

switch (action) {
case Ext.data.Api.actions.create:
args.push(params.jsonData); // <-- create(Hash)
break;
...


it breaks param handling in my backend, so I just want to make sure this is intended behavior.

EDIT:
Please close, found appropriate dev notes in r5113