Threaded View
-
9 Feb 2013 4:56 PM #1
[4.2.0.265] Bug with RowEditing in Ext.view.Table.updateColumns
[4.2.0.265] Bug with RowEditing in Ext.view.Table.updateColumns
The bug is very strange so I do my best to describe it.
I have a grid with two combobox editors in the columns.
To add a new row, I use
When I hit update, the request is send to the server but I get a null pointer exception in Ext.view.Table.updateColumns atPHP Code:this.getBenutzerView ().getStore ().insert (0, new User ({
....
}));
grid.getPlugin ('myRowEditingID').startEdit (0, 0);
because oldCell is null. In fact when investigating the DOM tree behind the RowEditing bar, the columns which uses a combobox are missing (no tds) when the exception rises.PHP Code:Ext.fly(oldCell).syncContent(newCell);
I added a check here
and it seems to work fine then. After the RowEditing bar closes the dom is intact again.PHP Code:if (!oldCell || !newCell) continue;
I haven't tested it with older versions.
Cheers,
Jörn
Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.


Reply With Quote