From 0c8e21c3f82c1739c1459a00201e03aae2c65a3d Mon Sep 17 00:00:00 2001 From: Maxim Gorbunkov Date: Tue, 14 Jun 2016 16:43:22 +0400 Subject: [PATCH] PL-7366 Invalid custom conditions query in generic filter --- .../cuba/gui/components/filter/ConditionParamBuilderImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui/src/com/haulmont/cuba/gui/components/filter/ConditionParamBuilderImpl.java b/modules/gui/src/com/haulmont/cuba/gui/components/filter/ConditionParamBuilderImpl.java index 0110e6f3bc..162644d7ef 100644 --- a/modules/gui/src/com/haulmont/cuba/gui/components/filter/ConditionParamBuilderImpl.java +++ b/modules/gui/src/com/haulmont/cuba/gui/components/filter/ConditionParamBuilderImpl.java @@ -57,7 +57,7 @@ public class ConditionParamBuilderImpl implements ConditionParamBuilder{ @Override public String createParamName(AbstractCondition condition) { return "component$" + condition.getFilterComponentName() + "." + - condition.getName().replace('.', '_') + RandomStringUtils.randomNumeric(5); + condition.getName().replace('.', '_').replace(" ", "_") + RandomStringUtils.randomNumeric(5); } protected interface Builder {