diff options
author | Artur Signell <artur@vaadin.com> | 2014-12-09 21:18:50 +0200 |
---|---|---|
committer | Sauli Tähkäpää <sauli@vaadin.com> | 2014-12-16 21:27:25 +0200 |
commit | 18be259375c876963da86f3b83c72adfbda45fe1 (patch) | |
tree | c270abd92f23dda31f8597815fa51c8c4a3b82ff /server/src | |
parent | cda3a10b3d18063ea43e301c02be79a3c1c76d56 (diff) | |
download | vaadin-framework-18be259375c876963da86f3b83c72adfbda45fe1.tar.gz vaadin-framework-18be259375c876963da86f3b83c72adfbda45fe1.zip |
Make addNestedContainerBean work with existing bean item container items (#15355)
Change-Id: I04a91349fce452aa26c304413061440ad74465cc
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/com/vaadin/data/util/AbstractBeanContainer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/data/util/AbstractBeanContainer.java b/server/src/com/vaadin/data/util/AbstractBeanContainer.java index 7d7d71c423..fad0934e53 100644 --- a/server/src/com/vaadin/data/util/AbstractBeanContainer.java +++ b/server/src/com/vaadin/data/util/AbstractBeanContainer.java @@ -880,7 +880,7 @@ public abstract class AbstractBeanContainer<IDTYPE, BEANTYPE> extends model.put(qualifiedPropertyId, pd); model.remove(propertyId); for (BeanItem<BEANTYPE> item : itemIdToItem.values()) { - item.addItemProperty(propertyId, + item.addItemProperty(qualifiedPropertyId, pd.createProperty(item.getBean())); item.removeItemProperty(propertyId); } |