toString method is not applied to an object in a String rule constraint #986
Labels
area:engine
Related to the runtime engines
area:rules
Related to Rules (DRL, DROOLS)
type:bug
Something is behaving unexpectedly
When having constraints like this,
the build ends with
Failed to coerce : InvalidExpressionErrorResult: Arithmetic operation requires compatible types. Found class java.lang.String and class org.drools.model.codegen.execmodel.domain.Person
and
Unable to Analyse Expression this == "someString" + $p
This works without using executable model.
Test case for this: https://gist.github.com/baldimir/c382da571b53f6faf2df96b245ff2add
The text was updated successfully, but these errors were encountered: