-
Bug
-
Resolution: Done
-
Major
-
7.9.0.GA
-
RHDM 7.9.0.
-
False
-
False
-
Release Notes
-
-
-
-
-
-
CR1
-
+
-
Undefined
-
-
-
2020 Week 49-51 (from Nov 30)
Compiling a rule like (*1) which is described in MVEL dialect and uses BigDecimal literal (number literal + suffix 'B') with executable rule models enabled, an error like (*2) occurs.
(*1)
package com.example.reproducer import com.example.reproducer.Bus dialect "mvel" rule "bus3c" when $bus : Bus() then modify($bus) { weight = 13000B } System.out.println("***** " + $bus + ", weight = " + $bus.weight); end
$bus.weight is a BigDecimal type property.
(*2)
[ERROR] Unable to build KieBaseModel:rules CompilationProblemErrorResult: org.drools.mvelcompiler.MvelCompilerException: RHS doesn't have a type
- is cloned by
-
DROOLS-5891 The use of BigDecimal literal causes a build failure in executable model.
- Closed