summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2014-06-25 13:50:14 +0300
committerLeif Åstrand <leif@vaadin.com>2014-06-25 13:50:14 +0300
commit087bf4215b76107d0b4e4c70e678ad7201270b12 (patch)
tree91c1ad106917e54f99d91e5a116526122003284b /server
parentf846f8d699ad6f599d91f7f86aa419be9b22b5a8 (diff)
downloadvaadin-framework-087bf4215b76107d0b4e4c70e678ad7201270b12.tar.gz
vaadin-framework-087bf4215b76107d0b4e4c70e678ad7201270b12.zip
Don't complain about missing sync id for critical notifications (#14081)
Change-Id: I351d256230a5cd674a5e1b8066d3e2aef07ff3bf
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/server/VaadinService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/com/vaadin/server/VaadinService.java b/server/src/com/vaadin/server/VaadinService.java
index 08bc6f5c79..e8cdcd7055 100644
--- a/server/src/com/vaadin/server/VaadinService.java
+++ b/server/src/com/vaadin/server/VaadinService.java
@@ -59,6 +59,7 @@ import com.vaadin.server.communication.HeartbeatHandler;
import com.vaadin.server.communication.PublishedFileHandler;
import com.vaadin.server.communication.SessionRequestHandler;
import com.vaadin.server.communication.UidlRequestHandler;
+import com.vaadin.shared.ApplicationConstants;
import com.vaadin.shared.JsonConstants;
import com.vaadin.shared.ui.ui.UIConstants;
import com.vaadin.ui.UI;
@@ -1590,6 +1591,7 @@ public abstract class VaadinService implements Serializable {
json.put("resources", new JSONObject());
json.put("locales", new JSONObject());
json.put("meta", meta);
+ json.put(ApplicationConstants.SERVER_SYNC_ID, -1);
returnString = json.toString();
} catch (JSONException e) {
getLogger().log(Level.WARNING,