Skip to content
Snippets Groups Projects
Commit c8c4b2d1 authored by tpylak's avatar tpylak
Browse files

bugfix: cannot edit filters if the grid id contains brackets (e.g. list '(all)' experiments

SVN: 13532
parent 436734fe
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,11 @@ abstract public class AbstractGridCustomExpressionEditOrRegisterDialog extends
public static String createId(String gridId, String suffix)
{
return GenericConstants.ID_PREFIX + "grid-expression-edit-register-" + gridId + suffix;
String escapedGridId = gridId;
escapedGridId = escapedGridId.replace("(", "_");
escapedGridId = escapedGridId.replace(")", "_");
return GenericConstants.ID_PREFIX + "grid-expression-edit-register-" + escapedGridId
+ suffix;
}
private MultilineVarcharField createExpressionField()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment