[SOLVED] Store.commitChanges chokes on modified records that have been removed
Index or size is negative or greater than the allowed amount" code: "1
[Break on this error] return this.getLockedTable().rows[index];
I'm in Firefox, but it's an array indexing problem. The error is thrown in GridView.getLockedRow(). index is being passed as -1.
This may be related to a separate problem that I've noticed: Ext.data.Store.getModifiedRecords() seems to return records that have been removed.
- the error message above is from Firebug with ext-all-debug.js, and no stack trace was provided.
- Ext 1.0.1a or 1.1RC1 - same problem
- YUI 2.2.0 + adapter
- Firefox 2.0.0.5 on a Mac
Here's an example that illustrates the bug:
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
http://extjs.com/forum/showthread.php?t=8887
#If you have any other info about this subject , Please add it free.# |
omr06vg8k1ys