]> source.dussan.org Git - vaadin-framework.git/commit
Fix NPE in case some items don't contain all properties of Grid.
authoradam <adam@vaadin.com>
Tue, 18 Oct 2016 09:00:55 +0000 (12:00 +0300)
committerVaadin Code Review <review@vaadin.com>
Mon, 14 Nov 2016 12:10:06 +0000 (12:10 +0000)
commit7535fbf6338be95f79910e4575d1e39796e5c701
tree0217d4f5bdb53fbe3ba86b4488dbb22b9b519a90
parent5d2f6a372e0c31c471ecfbe7b7483f32e0a00f1d
Fix NPE in case some items don't contain all properties of Grid.
This could occur in when parent is a different entity than its children
in hierarchical data.

Change-Id: Icd53b5b5e5544a3680d0cd99702ab78224b2dc08
server/src/main/java/com/vaadin/data/fieldgroup/FieldGroup.java
server/src/main/java/com/vaadin/ui/Grid.java
server/src/test/java/com/vaadin/tests/server/component/grid/GridEditorMissingPropertyTest.java [new file with mode: 0644]
uitest/src/main/java/com/vaadin/tests/components/grid/GridMissingProperty.java [new file with mode: 0644]
uitest/src/test/java/com/vaadin/tests/components/grid/GridMissingPropertyTest.java [new file with mode: 0644]