summaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-01-21 21:46:47 +0200
committerArtur Signell <artur@vaadin.com>2013-02-11 18:42:32 +0200
commitc598a852c2565b67226533622b5f75a3b588acf3 (patch)
tree15e1aed52c14105b0121c88f37c4febff62b1d4f /server/src
parent8959135e3054fe0de1d36f705195b224df3d67d8 (diff)
downloadvaadin-framework-c598a852c2565b67226533622b5f75a3b588acf3.tar.gz
vaadin-framework-c598a852c2565b67226533622b5f75a3b588acf3.zip
Handle OutOfSync by resyncing automatically (#10780)
Change-Id: I5958d82b09519dabe9f2af792bd216d3b426c1c9
Diffstat (limited to 'server/src')
-rw-r--r--server/src/com/vaadin/server/AbstractCommunicationManager.java17
1 files changed, 12 insertions, 5 deletions
diff --git a/server/src/com/vaadin/server/AbstractCommunicationManager.java b/server/src/com/vaadin/server/AbstractCommunicationManager.java
index c1c18901b4..cd7279e601 100644
--- a/server/src/com/vaadin/server/AbstractCommunicationManager.java
+++ b/server/src/com/vaadin/server/AbstractCommunicationManager.java
@@ -1780,11 +1780,18 @@ public abstract class AbstractCommunicationManager implements Serializable {
if (connectorTracker.getConnector(connectorId) == null
&& !connectorId
.equals(ApplicationConstants.DRAG_AND_DROP_CONNECTOR_ID)) {
- getLogger().log(
- Level.WARNING,
- "RPC call to " + interfaceName + "." + methodName
- + " received for connector " + connectorId
- + " but no such connector could be found");
+ getLogger()
+ .log(Level.WARNING,
+ "RPC call to "
+ + interfaceName
+ + "."
+ + methodName
+ + " received for connector "
+ + connectorId
+ + " but no such connector could be found. Resynchronizing client.");
+ // This is likely an out of sync issue (client tries to update a
+ // connector which is not present). Force resync.
+ connectorTracker.markAllConnectorsDirty();
return null;
}