summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2011-01-25 12:35:48 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2011-01-25 12:35:48 +0000
commit06897a8af6a2b2da72e8ae784b2a4bba2481462c (patch)
treeac443cefb4fae6752e987f2e81099800d57060de /src/com/vaadin/terminal
parentde5c9f7ebe9132fe40dede0205fe6e5a897c435b (diff)
downloadvaadin-framework-06897a8af6a2b2da72e8ae784b2a4bba2481462c.tar.gz
vaadin-framework-06897a8af6a2b2da72e8ae784b2a4bba2481462c.zip
fixes #6315, now proper response and cleanup is done if the infamous last desperate request has some inconsistencies.
svn changeset:17017/svn branch:6.5
Diffstat (limited to 'src/com/vaadin/terminal')
-rw-r--r--src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java b/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java
index 068cf2e1fa..5dd99f9f0d 100644
--- a/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java
+++ b/src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java
@@ -1221,7 +1221,13 @@ public abstract class AbstractCommunicationManager implements
}
}
- return success;
+ /*
+ * Note that we ignore inconsistencies while handling unload request.
+ * The client can't remove invalid variable changes from the burst, and
+ * we don't have the required logic implemented on the server side. E.g.
+ * a component is removed in a previous burst.
+ */
+ return success || closingWindowName != null;
}
public boolean handleVariableBurst(Object source, Application app,