[jboss-jira] [JBoss JIRA] (DROOLS-3283) Incorrect V&V results when operator is filled in the row (as opposed to column definition)
Toni Rikkola (Jira)
issues at jboss.org
Thu Nov 8 09:17:05 EST 2018
[ https://issues.jboss.org/browse/DROOLS-3283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Toni Rikkola moved RHDM-786 to DROOLS-3283:
-------------------------------------------
Project: Drools (was: Red Hat Decision Manager)
Key: DROOLS-3283 (was: RHDM-786)
Workflow: GIT Pull Request workflow (was: CDW with docs v1)
Docs QE Status: NEW
Affects Version/s: (was: 6.x.x)
QE Status: NEW
> Incorrect V&V results when operator is filled in the row (as opposed to column definition)
> ------------------------------------------------------------------------------------------
>
> Key: DROOLS-3283
> URL: https://issues.jboss.org/browse/DROOLS-3283
> Project: Drools
> Issue Type: Bug
> Reporter: Toni Rikkola
> Assignee: Toni Rikkola
> Priority: Major
> Labels: support
>
> Imagine data model Person with attribute age.
> If you create decision table and add two columns:
> - both are defined against "age" attribute
> - none of them have operator defined
> then you add one row, and you fill in the operator and the value directly inside the row.
> For example:
> >= 20
> <= 30
> The generated DRL looks like this:
> {code:java}
> package org;
> //from row number: 1
> rule "Row 1 AnotherTest"
> dialect "mvel"
> when
> p : Person( age >= 20 , age <= 30 )
> then
> p.setAgeGroup( "whatever" );
> end
> {code}
> The V&V will report this as conflicting row:
> !6iOx.png|thumbnail!
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list