-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
jBPM 6.3.0.Final
I'm using expressions (e.g. #{object.method()}) in my task data input/output assignments, especially for email and custom tasks. In some cases, I need to use double-quotes as part of the expression, for example when I have process variable that's a map and I just want to pass one value...
externalProperties.get("PATH_TO_SERVICE")
When I try to add any expression to the assignments editor that has double-quotes, and then click save, nothing happens. There's no error message, it just doesn't do anything. If I remove the double-quotes, it saves fine.
I can escape the double-quotes with backslashes, and it works. But when I re-open the assignments editor the backslashes are gone, and I have to re-edit each such expression whether I want to or not to get it to save.
Expected behavior: the editor should allow embedded quotes in expressions to be saved without having to be escaped. This is necessary to allow data input assignments to be made from maps e.g. (myExternalProperties.get("PATH_TO_SERVICE")).
If that's not possible, then the editor should escape any saved double-quotes when it re-opens.