[jboss-jira] [JBoss JIRA] (DROOLS-1856) Validation false positive w/GDT: "Rule has no action"
Michael Anstis (JIRA)
issues at jboss.org
Fri Oct 27 04:35:18 EDT 2017
[ https://issues.jboss.org/browse/DROOLS-1856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Anstis moved GUVNOR-2802 to DROOLS-1856:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1856 (was: GUVNOR-2802)
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)
> Validation false positive w/GDT: "Rule has no action"
> -----------------------------------------------------
>
> Key: DROOLS-1856
> URL: https://issues.jboss.org/browse/DROOLS-1856
> Project: Drools
> Issue Type: Feature Request
> Components: Guided Decision Table Editor
> Affects Versions: 6.4.0.Final
> Reporter: Jeff Jensen
>
> The following false positive validation error occured for us with the Guided Decision Table editor (created the rule in the GDT editor):
> {quote}
> "Exists experiment" guided decision table (source below) results in this validation error:
> Rule has no action
> Affected rows:1
> When a rule has no action it does fire, but since the action side is empty nothing happens.
> It is possible that the actions were left out by accident. In this case please add them. Otherwise the rule can be removed.
> {quote}
> This is the source for the rule (with names changed):
> {code:java}
> //from row number: 1
> rule "Row 1 Exists experiment"
> dialect "mvel"
> when
> $x: X( $a: a)
> then
> F fact0 = new F();
> fact0.setF( $a);
> insert( fact0 );
> end
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list