[jboss-jira] [JBoss JIRA] (DROOLS-977) Error in combining str[contains] with OR results
Mario Fusco (JIRA)
issues at jboss.org
Wed Dec 2 09:07:00 EST 2015
[ https://issues.jboss.org/browse/DROOLS-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco resolved DROOLS-977.
--------------------------------
Resolution: Out of Date
The problem is not caused by OR. We never had a str[contains] operator. Only supported operators are startsWith, endsWith and length.
However the str[] operators are legacy stuff that has been introduced when Drools didn't have free form expressions. For this reason they have to be considered deprecated. Instead of them use the native methods of the java.lang.String object and then instead of
name str[contains] "test1"
just write
name.contains( "test1" )
> Error in combining str[contains] with OR results
> ------------------------------------------------
>
> Key: DROOLS-977
> URL: https://issues.jboss.org/browse/DROOLS-977
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 6.3.0.Final
> Environment: CentOS 6.4, WildFly
> Reporter: hoon lee
> Assignee: Mario Fusco
>
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list