[jboss-jira] [JBoss JIRA] Closed: (JBRULES-1710) BRMS: test scenario bug: field's value is not initialized?
Michael Neale (JIRA)
jira-events at lists.jboss.org
Tue Aug 5 02:42:56 EDT 2008
[ https://jira.jboss.org/jira/browse/JBRULES-1710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list