diff options
author | Klaudeta <31614592+Klaudeta@users.noreply.github.com> | 2019-03-21 07:56:20 +0200 |
---|---|---|
committer | Pekka Hyvönen <pekka@vaadin.com> | 2019-03-21 07:56:20 +0200 |
commit | 15cc5d13b379d744988b169916eb1b9437cf8021 (patch) | |
tree | 725cae6e6c05b309882ef4762f3de0e3aebe15f3 /compatibility-client | |
parent | f11ea958cce7a3b273bc041e6a20a399dd23e6ac (diff) | |
download | vaadin-framework-15cc5d13b379d744988b169916eb1b9437cf8021.tar.gz vaadin-framework-15cc5d13b379d744988b169916eb1b9437cf8021.zip |
Make improve of caching for hierarchical data optional (#11501)
Make improve of caching for hierarchical data optional
Fixes #11477
Diffstat (limited to 'compatibility-client')
-rw-r--r-- | compatibility-client/src/main/java/com/vaadin/v7/client/connectors/RpcDataSourceConnector.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/connectors/RpcDataSourceConnector.java b/compatibility-client/src/main/java/com/vaadin/v7/client/connectors/RpcDataSourceConnector.java index 0b04d204ad..b764bfc45b 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/connectors/RpcDataSourceConnector.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/connectors/RpcDataSourceConnector.java @@ -70,6 +70,11 @@ public class RpcDataSourceConnector extends AbstractExtensionConnector { public class RpcDataSource extends AbstractRemoteDataSource<JsonObject> { protected RpcDataSource() { + + /*Fixes issue https://github.com/vaadin/framework/issues/11477 + More details in AbstractRemoteDataSource.trackInvalidatedRows private field*/ + setTrackInvalidatedRows(false); + registerRpc(DataProviderRpc.class, new DataProviderRpc() { @Override public void setRowData(int firstRow, JsonArray rowArray) { |