From 3eaee7d5d676c60641c198bd8b9352e650a6fe22 Mon Sep 17 00:00:00 2001 From: Jonni Nakari Date: Thu, 13 Dec 2012 14:41:26 +0200 Subject: Fix for ticket #10121, a unit test for the ticket's issue and a unit test for the new method in ReflectTools Change-Id: If8d57b4b38e8856ff2a9ef130dc71cf5b315858a --- server/src/com/vaadin/data/fieldgroup/FieldGroup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/com/vaadin/data/fieldgroup/FieldGroup.java') diff --git a/server/src/com/vaadin/data/fieldgroup/FieldGroup.java b/server/src/com/vaadin/data/fieldgroup/FieldGroup.java index 5a69cad62e..51cd3126cb 100644 --- a/server/src/com/vaadin/data/fieldgroup/FieldGroup.java +++ b/server/src/com/vaadin/data/fieldgroup/FieldGroup.java @@ -830,7 +830,7 @@ public class FieldGroup implements Serializable { try { // Get the field from the object field = (Field) ReflectTools.getJavaFieldValue( - objectWithMemberFields, memberField); + objectWithMemberFields, memberField, Field.class); } catch (Exception e) { // If we cannot determine the value, just skip the field and try // the next one -- cgit v1.2.3