[jboss-jira] [JBoss JIRA] Updated: (JBRULES-1136) Rule not firing when expression contains nested accessors

Mark Proctor (JIRA) jira-events at lists.jboss.org
Wed Aug 29 10:56:18 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBRULES-1136?page=all ]

Mark Proctor updated JBRULES-1136:
----------------------------------

    Fix Version/s: 4.0.1

> 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: Edson Tirelli
>             Fix For: 4.0.1
>
>         Attachments: action_rules.drl, 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.
> Just found same issue happens in other construct like collect :
> when ArrayList(size > 0) from collect(TestSupplier(testBusinessStatus.active == true))  ->NEVER FIRES

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list