What should be used for the writer config of a LABKEY.ext.Store (Ext3 version) | Leo Dashevskiy | 2013-07-09 14:19 |
Status: Closed | ||
So the exception comes up because of this 'oldKeys' data being sent. Naturally, its value being: {"undefined":"ext-record-141"} does not quite look right. This value comes from this line of LABKEY.ext.Store: getOldKeys : function(record) { var oldKeys = {}; oldKeys[this.reader.meta.id] = record.id; return oldKeys; } I do not have this.reader.meta.id and the record.id does not have anything meaningful in it... this.reader.meta Object {title: "gstbl", totalProperty: "rowCount", importTemplates: Array[1], root: "rows", description: "↵ The 'gsTbl' table contains information about generated gating sets.↵ "…} description: "↵ The 'gsTbl' table contains information about generated gating sets.↵ " fields: Array[8] importMessage: null importTemplates: Array[1] root: "rows" title: "gstbl" totalProperty: "rowCount" __proto__: Object record sb {phantom: false, id: "ext-record-3", data: Object, json: Object, store: LABKEY.ext.Store.Ext.extend.constructor…} data: Object dirty: true id: "ext-record-3" json: Object modified: Object phantom: false saveOperationInProgress: true store: LABKEY.ext.Store.Ext.extend.constructor __proto__: F So what needs to be done here, guys? Anybody? |
||