summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/data/fieldgroup/FieldGroup.java
diff options
context:
space:
mode:
authorJonni Nakari <jonni@vaadin.com>2012-12-13 14:41:26 +0200
committerJonni Nakari <jonni@vaadin.com>2012-12-13 14:41:26 +0200
commit3eaee7d5d676c60641c198bd8b9352e650a6fe22 (patch)
tree45387f51fd73e87c09541702bae30beabd796777 /server/src/com/vaadin/data/fieldgroup/FieldGroup.java
parent21cfeb145c81fabfc935a136cff581d53754a27d (diff)
downloadvaadin-framework-3eaee7d5d676c60641c198bd8b9352e650a6fe22.tar.gz
vaadin-framework-3eaee7d5d676c60641c198bd8b9352e650a6fe22.zip
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
Diffstat (limited to 'server/src/com/vaadin/data/fieldgroup/FieldGroup.java')
-rw-r--r--server/src/com/vaadin/data/fieldgroup/FieldGroup.java2
1 files changed, 1 insertions, 1 deletions
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