[jboss-jira] [JBoss JIRA] (DROOLS-1100) Decision table conversion to DRL logic change in some version later than 6.1.0.Final
Mario Fusco (JIRA)
issues at jboss.org
Tue Jul 5 10:00:04 EDT 2016
[ https://issues.jboss.org/browse/DROOLS-1100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco reassigned DROOLS-1100:
-----------------------------------
Assignee: Mario Fusco
> Decision table conversion to DRL logic change in some version later than 6.1.0.Final
> ------------------------------------------------------------------------------------
>
> Key: DROOLS-1100
> URL: https://issues.jboss.org/browse/DROOLS-1100
> Project: Drools
> Issue Type: Bug
> Reporter: Vytautas Gimbutas
> Assignee: Mario Fusco
> Attachments: Screen Shot 2016-03-19 at 8.40.40 PM.png
>
>
> It seems there was a change of how decision tables are converted to DRL in some version later than 6.1.0. See attached screenshot for decision table i'm trying to generate.
> In 6.1.0.Final this gets converted to:
> {code}
> // rule values at C42, header at C37
> rule "X_42"
> no-loop true
> salience 65494
> when
> $p: Project(id == "40098")
> $c: Client()
> then
> modify($c) { incrementPricingStep(2, 8); }
> end
> {code}
> but in 6.4.0.CR1 it gets converted to:
> {code}
> // rule values at C42, header at C37
> rule "X_42"
> no-loop true
> salience 65494
> when
> $p: Project()
> $c: Client(id == "40098")
> then
> modify($c) { incrementPricingStep(2, 8); }
> end
> {code}
> Maybe this is not intentional and caused by accident?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list