[jboss-jira] [JBoss JIRA] (JBRULES-3254) disjunction with string == does not compile anymore

Jean-Marc Vanel (Commented) (JIRA) jira-events at lists.jboss.org
Mon Oct 17 13:12:45 EDT 2011


    [ https://issues.jboss.org/browse/JBRULES-3254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635245#comment-12635245 ] 

Jean-Marc Vanel commented on JBRULES-3254:
------------------------------------------

I did this:

rm -r $HOME/.m2/repository/org/drools/*/5.4.0-SNAPSHOT
rm -r $HOME/jmv/.m2/repository/org/mvel/mvel2/*
mvn compile 
mvn eclipse:eclipse

; and rebuild in eclipse,
and now the rule *does compile and fire* ! :)

This seems indeed a bad deploy of last snapshot .
                
> disjunction with string ==  does not compile anymore 
> -----------------------------------------------------
>
>                 Key: JBRULES-3254
>                 URL: https://issues.jboss.org/browse/JBRULES-3254
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: FUTURE
>            Reporter: Jean-Marc Vanel
>            Assignee: Mario Fusco
>
> Such expressions in LHS do not compile anymore :
> C( f == "a" || f == "b"  )
>    
> ==> compiler says :    Predicate ' f == "a" || f == "b" ' must be a Boolean expression
> Note that this does not work any more :
> C( ( f == "a" ) || ( f == "b" ) )

--
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

        


More information about the jboss-jira mailing list