Regex in DMN replaced in output #4530
Labels
potential:7.21.6
potential:7.22.1
type:bug
Issues that describe a user-facing bug in the project.
version:7.23.0
Environment (Required on creation)
Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket)
When using a regex in a DMN row's output, after an instance triggered the row, the output is changed. The escaped regex characters are transformed (e.g.,
)
\s
->Steps to reproduce (Required on creation)
test\s\r\ntest
in the output column.Example DMN
Observed Behavior (Required on creation)
The output of the triggered DMN row is changed. The escaped characters are transformed.
Expected behavior (Required on creation)
The output of the triggered DMN row is not changed. The escaped characters are not transformed. The original regex string is returned as output.
Root Cause (Required on prioritization)
The FEEL Scala engine transforms certain escaped characters during parsing. See code .
Solution Ideas
This has to be fixed in FEEL Scala and the fixed version needs to be used in Camunda Platform 7.
Hints
Links
Breakdown
Pull Requests
Dev2QA handover
The text was updated successfully, but these errors were encountered: