]> source.dussan.org Git - vaadin-framework.git/commit
Fix IndexOutOfBoundsException when adding columns in Grid (#12095)
authorTatu Lund <tatu@vaadin.com>
Fri, 4 Sep 2020 10:35:13 +0000 (13:35 +0300)
committerGitHub <noreply@github.com>
Fri, 4 Sep 2020 10:35:13 +0000 (13:35 +0300)
commit58bcc95f15a0c7bf032daabd885ba76984a789ee
tree1148b8229b9845120197c1f82a0f1d8d0c751624
parent63434f9939968c9c7629b03b39016575dcf813c4
Fix IndexOutOfBoundsException  when adding columns in Grid (#12095)

There is regression in Vaadin 7.7.16 and later, which is due patch  https://github.com/vaadin/framework/commit/eafd44672650e076fc4a43362e11b47ffb0dbff1 that can lead to IndexOutOfBoundsException when there is hidden columns while adding new columns, which is similiar issue than earlier reported in https://github.com/vaadin/framework/issues/6784. Essentially the performance improvement patch overwrite some of the fix logic of https://github.com/vaadin/framework/commit/84533057435a99b0d0dfa9ea791de81921c1e260 This fix bring overwriten escalator index compensation back.
client/src/main/java/com/vaadin/client/widgets/Grid.java