[jboss-jira] [JBoss JIRA] (DROOLS-4551) Build fails when condition in spreadsheet contains '(' and ')' separately as a values
Hiroko Miura (Jira)
issues at jboss.org
Thu Sep 19 10:14:01 EDT 2019
Hiroko Miura created DROOLS-4551:
------------------------------------
Summary: Build fails when condition in spreadsheet contains '(' and ')' separately as a values
Key: DROOLS-4551
URL: https://issues.jboss.org/browse/DROOLS-4551
Project: Drools
Issue Type: Bug
Components: build, decision tables
Affects Versions: 7.26.0.Final, 7.25.0.Final
Environment: - 7.25.0.Final or 7.26.0.Final
- spreadsheet decition table
- EscapeQuote: false
Reporter: Hiroko Miura
Assignee: Ant Stephenson
Attachments: dt-build-err.zip
If condition contains '(' and ')' separately as different value in value cell, build fails with error like:
{noformat}
[main] ERROR Unable to build KieBaseModel:dtables
Unable to Analyse Expression $2:
[Error: unable to resolve method using strict-mode: com.sample.Message.$2()]
[Near : {... $2 ....}]
^
[Line: 6, Column: 2] : [Rule name='HelloWorld_11']
{noformat}
This worked with 7.18.0.Final-redhat-00004 (RHDM7.4.1), but fails with 7.25.0.Final or 7.26.0.Final.
Condition in DRL generated by spreadsheet compiler are different per these version.
- 7.25.0.Final/7.26.0.Final
{noformat}
m:Message(status in (Message.HELLO), errorMessage in ("Hello", "Hi"), $2)
{noformat}
- 7.24.0.Final/7.18.0.Final
{noformat}
m:Message(status in (Message.HELLO), errorMessage in ("Hello", "Hi"))
{noformat}
--
This message was sent by Atlassian Jira
(v7.13.5#713005)
More information about the jboss-jira
mailing list