]> source.dussan.org Git - vaadin-framework.git/commit
Fix NPE in v7 compatibility Grid during datasource rebind (#11473)
authorTobse <1190109+TobseF@users.noreply.github.com>
Wed, 27 Mar 2019 17:59:08 +0000 (18:59 +0100)
committerPekka Hyvönen <pekka@vaadin.com>
Wed, 27 Mar 2019 17:59:08 +0000 (19:59 +0200)
commit7cd94ce0b02bb4ecd7826283d3928e3a66e39301
treec82317058996420fb7c3f00f64f6c2135d977eed
parent51b64cc579c302b693aecfbf91726fa45dc08b47
Fix NPE in v7 compatibility Grid during datasource rebind (#11473)

Add DataChangeHandler removal in v7 Grid just as in v8 Grid.
Adding tests to the fix to verify, that NPE is not thrown.
compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Grid.java
uitest/src/main/java/com/vaadin/tests/components/grid/GridRebindDataSourceV7.java [new file with mode: 0644]
uitest/src/test/java/com/vaadin/tests/components/grid/GridRebindDataSourceV7Test.java [new file with mode: 0644]