]
Sergey Manukyan updated JBRULES-1136:
-------------------------------------
Attachment: action_rules.drl
test rules
Rule not firing when expression contains nested accessors
---------------------------------------------------------
Key: JBRULES-1136
URL:
http://jira.jboss.com/jira/browse/JBRULES-1136
Project: JBoss Rules
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.0.0.GA
Environment: Wintel XP Pro SP2
Reporter: Sergey Manukyan
Assigned To: Mark Proctor
Attachments: action_rules.drl, RuleBaseFacade.java, TestBug.java,
TestBusinessStatus.java, TestSupplier.java
Rule that use nested accessors in expressions don't fire. Although simple accessors
fire just fine:
For example :
when exists( TestSupplier( testBusinessStatus.active == true ) ) -> NEVER FIRES
when exists( TestSupplier( name == "TEST SUPPLIER" ) ) -> FIRES JUST FINE
I am using StatefulSession. Will attach the unit test to reproduce the problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: