]
Toni Rikkola updated DROOLS-1870:
---------------------------------
Labels: dtable_testday_preparation qe-test-day reported-by-qe verifier (was:
dtable_testday_preparation qe-test-day reported-by-qe)
[Guided Decision Table] Row with Impossible Match throws Exception
------------------------------------------------------------------
Key: DROOLS-1870
URL:
https://issues.jboss.org/browse/DROOLS-1870
Project: Drools
Issue Type: Sub-task
Affects Versions: 7.0.0.Beta4
Reporter: Jozef Marko
Assignee: Jozef Marko
Priority: Major
Labels: dtable_testday_preparation, qe-test-day, reported-by-qe, verifier
Fix For: 7.1.0.Final
Attachments: Screenshot from 2016-12-12 11-54-51.png
Validation of guided decision tables check for rows with 'Impossible Match'.
Simple example of such row is one that contains both conditions:
* (p.age < 10)
* (p.age. > 20)
However after such is detected, the attached exception and error dialog is thrown.
Steps to reproduce:
# Create new Guided Decision Table
# Ensure you have available some data object to use
# Lets say you data object is Person with attribute age
# Insert two simple conditions column into table
** The first condition restricts person age to be less than
** The second condition restricts person age to be greater than
** Both conditions are bound to the same fact
# Append row into decision table
** Set less than condition column to value: 10
** Set greater than condition column to value: 20
# The attached error is thrown
# Expected is Impossible Match detection