[
https://issues.jboss.org/browse/DROOLS-977?page=com.atlassian.jira.plugin...
]
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)