]
Michael Neale closed JBRULES-1710.
----------------------------------
Resolution: Done
BRMS: test scenario bug: field's value is not initialized?
----------------------------------------------------------
Key: JBRULES-1710
URL:
https://jira.jboss.org/jira/browse/JBRULES-1710
Project: JBoss Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-brms
Affects Versions: 5.0.0.M1
Reporter: Jaroslaw Kijanowski
Assignee: Michael Neale
Fix For: 5.0.0.M2
Please follow these steps to reproduce:
new category, new package, new technical rule:
when
Cheese( smelly == true )
then
insert( new Person("Pierre", "m", 18) );
smelly is a boolean field in Cheese
now create a test scenario:
click on Given and add a Cheese fact;
click on add a field, choose smelly and now: true is select by default. Leave it as is,
our rule should fire, right? Run the test, you'll notice that 0 rules fired. Now
change smelly from true to false, change it back to true and run the test. One rule fired.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: