diff options
author | Aleksi Hietanen <aleksi@vaadin.com> | 2017-05-02 18:57:33 +0300 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-05-02 18:57:33 +0300 |
commit | a1c2b2f6764e51acdab16a8cd3234fba1d688005 (patch) | |
tree | 518cb87e1701d6cf9bffb6bcfd415ade89f936e7 /server/src/main/java/com/vaadin | |
parent | bb43a537e05d9d60ef82f1acac41cea6343c8cbb (diff) | |
download | vaadin-framework-a1c2b2f6764e51acdab16a8cd3234fba1d688005.tar.gz vaadin-framework-a1c2b2f6764e51acdab16a8cd3234fba1d688005.zip |
HierarchicalDataProvider cache invalidation workaround (#9218)
Workaround for issue in data communication where
active keys are dropped incorrectly on the server.
See issue #9217
Diffstat (limited to 'server/src/main/java/com/vaadin')
-rw-r--r-- | server/src/main/java/com/vaadin/data/provider/HierarchicalDataCommunicator.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/main/java/com/vaadin/data/provider/HierarchicalDataCommunicator.java b/server/src/main/java/com/vaadin/data/provider/HierarchicalDataCommunicator.java index 5761b65d35..820e3d8f2c 100644 --- a/server/src/main/java/com/vaadin/data/provider/HierarchicalDataCommunicator.java +++ b/server/src/main/java/com/vaadin/data/provider/HierarchicalDataCommunicator.java @@ -288,7 +288,9 @@ public class HierarchicalDataCommunicator<T> extends DataCommunicator<T> { String itemKey = keys.getString(i); if (!mapper.isKeyStored(itemKey) && !rowKeysPendingExpand.contains(itemKey)) { - getActiveDataHandler().dropActiveData(itemKey); + // FIXME: cache invalidated incorrectly, active keys being + // dropped prematurely + // getActiveDataHandler().dropActiveData(itemKey); } } } |