PL-7366 Invalid custom conditions query in generic filter

This commit is contained in:
Maxim Gorbunkov 2016-06-14 16:43:22 +04:00
parent 15ce19184e
commit 0c8e21c3f8

View File

@ -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 {