Skip to content

Data inconsistency introduced in 3.0.7 due to performance fix #59

@byte0ne

Description

@byte0ne

Hi there,
The change introduced in commit b2acf69b51cec80393f13e8f280c83cc181e0bb9 may lead to a IndexOutOfBoundsException when the grid is for example used as an assignment component where items get added/removed between different grids.
This happens above all when the cell is double-clicked/clicked multiple times or is part of a TestBench test.

The IndexOutOfBoundsException happens at com.vaadin.componentfactory.selectiongrid.SelectionGrid#obtainNewSelectedItems:
newSelectedItems.add(dataCommunicator.getItem(i));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions