[PATCH] Fixings overview panel: Send valid encoded JSON filters to server part of the client

Wald Commits scm-commit at wald.intevation.org
Thu Oct 10 18:34:09 CEST 2013


# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1381422844 -7200
# Node ID 6c29c55dd85cf0373b7054d9f01c315a25fe3d80
# Parent  2584a114a35064feb9cb46233c94d05b6bb919cb
Fixings overview panel: Send valid encoded JSON filters to server part of the client.

diff -r 2584a114a350 -r 6c29c55dd85c gwt-client/src/main/java/org/dive4elements/river/client/client/ui/fixation/FixationPanel.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/fixation/FixationPanel.java	Thu Oct 10 11:27:56 2013 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/fixation/FixationPanel.java	Thu Oct 10 18:34:04 2013 +0200
@@ -40,6 +40,7 @@
 import org.dive4elements.river.client.client.services.FixingsOverviewService;
 import org.dive4elements.river.client.client.services.FixingsOverviewServiceAsync;
 import org.dive4elements.river.client.client.ui.AbstractUIProvider;
+import org.dive4elements.river.client.shared.MapUtils;
 import org.dive4elements.river.client.shared.model.Data;
 import org.dive4elements.river.client.shared.model.DataList;
 import org.dive4elements.river.client.shared.model.FixAnalysisArtifact;
@@ -154,7 +155,7 @@
         overviewService.generateOverview(
             locale,
             artifact.getUuid(),
-            getOverviewFilter(art.getFilter()),
+            MapUtils.toJavaEncodedString(getOverviewFilter(art.getFilter())),
             renderCheckboxes(),
             callBack,
             new AsyncCallback<FixingsOverviewInfo>() {


More information about the Dive4elements-commits mailing list