[jboss-jira] [JBoss JIRA] (DROOLS-1843) Support for empty condition columns on decision tables. Error when converting to guided decision tables.
Michael Anstis (JIRA)
issues at jboss.org
Fri Oct 27 04:35:15 EDT 2017
[ https://issues.jboss.org/browse/DROOLS-1843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Anstis moved GUVNOR-2626 to DROOLS-1843:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1843 (was: GUVNOR-2626)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Guided Decision Table Editor
(was: Guided Decision Table)
Affects Version/s: 6.4.0.Final
(was: drools_6.4.0.Final)
> Support for empty condition columns on decision tables. Error when converting to guided decision tables.
> --------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-1843
> URL: https://issues.jboss.org/browse/DROOLS-1843
> Project: Drools
> Issue Type: Feature Request
> Components: Guided Decision Table Editor
> Affects Versions: 6.4.0.Final
> Reporter: Stathis Politis
> Attachments: ReasonCodesShortAndLong.xls, ReasonCodesShortAndLong_correctXLS.xls, exception.txt
>
>
> There is a need to support columns with single data in the decision table and with no conditions. For this reason, we added a dummy condition eval("$param" == "$param") to be able to convert to the guided decision tables. In cases though, where a condition exists with no $param inside (e.g in the attached Excel at cell C32 not(exists ReasonCodeType(reasonCode== ReasonCodeTypeEnum.LT) ) we are obliged to append eval("$param" == "$param") in the front of the condition,so the parser can convert it to the guided decision table. If we use quotes "$param" we get the attached exception, otherwise it works. Why there is inconsistent behavior with the quotes and how can I deal with the fact that each condition requires $param inside?
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list