Ronald,
I see now. Version 3.0.x still used integer codes for operators and that
is the reason the error message is saying operator '50'.
So, the problem is you are trying to use = (operator 50) with a string
attribute:
public static final int EQUAL= 1;
public static
Edson,
Actually, I am glad it caught it, because that was not my intent at all. I
was a global search and replace issue on my part.
If you added in support for these operations, I still think a warning would
be in order because that may not be what you intended,
I am considering the move to
Yes, we know error messages are still not good and we are working on
improving them.
[]s
Edson
2007/5/24, Ronald R. DiFrango [EMAIL PROTECTED]:
On a similar note, it would be good if the line numbers were displayed so
I could find the error much easier. [I do not that is TONS easier
Anyone ever seen this error in the IDE:
Severity and DescriptionPathResourceLocationCreation Time
Id
Operator '50' does not exist for StringEvaluator
RtvDecisionEngine/src/rules/com/circuitcity/rtvcrms/rulesrtv.drl
Unknown117995431763829080
And if so what do you do
Ronald,
When you write an expression for a String attribute like:
Person( name Edson )
It should raise an exception saying:
Operator '' does not exists for StringEvaluator.
Although, he is saying Operator '50'?!?!
What version of drools are you using?
[]s
Edson