inserting fact before populating rule base => rule does not fire, because of eval()
------------------------------------------------------------------------------------
Key: JBRULES-3255
URL:
https://issues.jboss.org/browse/JBRULES-3255
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-core
Affects Versions: FUTURE
Reporter: Jean-Marc Vanel
Assignee: Mark Proctor
Scenario :
* populate a working memory while the rule base is empty;
* then populate the rule base ;
* then fire rules
* ==> rules should actually fire.
It works for most cases, BUT when the LHS has an eval like this it fails:
when
Triple( subject == "<a>" , $x : object )
eval( Double.parseDouble( $x ) > 5 )
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira