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 {