[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2991) Operator soundslike is broken

Tomáš Schlosser (JIRA) jira-events at lists.jboss.org
Tue Apr 26 05:23:18 EDT 2011


     [ https://issues.jboss.org/browse/JBRULES-2991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomáš Schlosser updated JBRULES-2991:
-------------------------------------

    Description: 
When trying to use soundslike operator in rule:
rule "Soundslike1"
	agenda-group "Soundslike"
	when
		PetPerson( name soundslike "foobar" )
	then
		#consequence
end

I get exception:
Evaluator 'soundslike' does not support type 'ValueType = 'Object' : [Rule name='Soundslike1']

name is a String
This example worked in 5.1

  was:
When trying to use soundslike operator in rule:
rule "Soundslike1"
	agenda-group "Soundslike"
	when
		PetPerson( name soundslike "foobar" )
	then
		#consequence
end

I get exception:
Evaluator 'soundslike' does not support type 'ValueType = 'Object' : [Rule name='Soundslike1']

name is a String 



> Operator soundslike is broken
> -----------------------------
>
>                 Key: JBRULES-2991
>                 URL: https://issues.jboss.org/browse/JBRULES-2991
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.2.0.M2
>            Reporter: Tomáš Schlosser
>            Assignee: Mark Proctor
>             Fix For: 5.2.0.M1
>
>
> When trying to use soundslike operator in rule:
> rule "Soundslike1"
> 	agenda-group "Soundslike"
> 	when
> 		PetPerson( name soundslike "foobar" )
> 	then
> 		#consequence
> end
> I get exception:
> Evaluator 'soundslike' does not support type 'ValueType = 'Object' : [Rule name='Soundslike1']
> name is a String
> This example worked in 5.1

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jboss-jira mailing list