Open stefanuebe opened 5 years ago
I'm getting the same error on a grid with Vaadin 14.1.17 (vaadin grid flow 4.1.0).
Issue still can be reproduced in latest LTS version, 14.6.8.
Workaround: call grid.getDataCommunicator().getKeyMapper().key(bean);
before editItem(bean);
Following scenario:
The view contains an editable grid with some hundred items (page size is default). Per button the user can add a new item into the grid and edit it.
This leads to an exception, when there are more items then page size. It works, when the item amount is below page size or lazy loading is not used (e.g. by using height-by-rows).
I guess this is related to the lazy loading mechanism.
Exception
Example code: