[
https://issues.jboss.org/browse/DROOLS-1672?page=com.atlassian.jira.plugi...
]
Edson Tirelli commented on DROOLS-1672:
---------------------------------------
I investigated this problem. It happens on the last reference to the variable name:
{code}.bob is not exactly 18{code}
The problem is that today the parser uses dynamic resolution to parse this variable name,
and we can't allow keywords in name parts for dynamic resolution.
There is no easy fix for this until we get some kind of alternative for the dynamic
resolution. I will postpone this ticket until either DMN 1.2 defines a context free
grammar or we have an alternative for the dynamic resolution.
"not" in variable name doesn't work
-----------------------------------
Key: DROOLS-1672
URL:
https://issues.jboss.org/browse/DROOLS-1672
Project: Drools
Issue Type: Bug
Components: dmn engine
Affects Versions: 7.1.0.Final
Reporter: Tibor Zimányi
Assignee: Edson Tirelli
Labels: reported-by-qe
Fix For: 7.3.0.Final
When trying this test case:
{code}{ is not exactly 18 : != 18, bob is not exactly 18 : is not exactly 18(16) }.bob is
not exactly 18"{code}
the parser fails like this [1]
[1]
https://gist.github.com/baldimir/7c13b9c76087d44f95802ded8b72877f
Will provide a PR with a reproducer.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)