Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
Sessions BatchVisitor doesnt support proxy's batchAction property
Sessions BatchVisitor doesnt support proxy's batchAction property
If a proxy has batchAction:false, like the REST proxy, this below code doesnt take that into consideration..getBatch: function (sort) { var map = this.map, batch = this.batch, bucket, entity, name, operation, proxy; if (map) { if (!batch) { batch = new Ext.data.Batch(); } for (name in map) { bucket = map[name]; entity = bucket.entity; // the entity class proxy = entity.getProxy(); delete bucket.entity; // so we don't think its an operation for (operation in bucket) { operation = proxy.createOperation(operation, { records: bucket[operation] }); operation.entityType = entity; batch.add(operation); } } } if (batch && sort !== false) { batch.sort(); } return batch; },
![]()
Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our recruiting manager:
sheryl@sencha.com
[INFOREQ] Sessions BatchVisitor doesnt support proxy's batchAction property
Aucun commentaire:
Enregistrer un commentaire