]
Anna Dupliak updated DROOLS-4785:
---------------------------------
Affects Version/s: 7.30.0.Final
(was: 7.5.0.Final)
DRL applies even if groupflow was not assigned 7.5
--------------------------------------------------
Key: DROOLS-4785
URL:
https://issues.jboss.org/browse/DROOLS-4785
Project: Drools
Issue Type: Bug
Components: Scenario Simulation and Testing
Affects Versions: 7.30.0.Final
Reporter: Anna Dupliak
Assignee: Daniele Zonca
Priority: Major
*For version 7.5*
# Given Traffic repo
# Edit DRL driver status rules
{code}rule "Status 1: young driver"
when
driver: Driver(age <= 18)
then
driver.setStatus("young");
end
rule "Status 2: young adult driver"
when
driver: Driver(age > 18 && < 25)
then
driver.setStatus("young adult");
end
rule "Status 3: adult driver"
when
driver: Driver(age >= 25)
then
driver.setStatus("adult");
end {code}
# Go to Driver Status Rules Tests.scesim
# Run the Tests
Expected : Tests failed bcs the values null expected (no DRL rules are applied)
Actual: Tests passed rules group was not updated