-
Bug
-
Resolution: Done
-
Major
-
7.13.2.GA
When a negative value is set to a BigDecimal type property in RHS like the following,
when $fact : Fact( ... ) then modify($fact){ bd = -1 } end
executable model build fails with the ERROR something like:
[ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.67.0.Final-redhat-00019:generateModel (default-generateModel) on project reproducer_bigdecimal_literal: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.67.0.Final-redhat-00019:generateModel failed: [com/example/reproducer/P51/LambdaConsequence51FE31BED8B91C756F6F900EB097A03B.java (28:1147) : The method setBd(BigDecimal) in the type Fact is not applicable for the arguments (int)] -> [Help 1]
If a value is positive, it works.
- clones
-
DROOLS-7324 Executable model build fails when setting negative BigDecimal literal value
- Resolved