-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
2020 Week 52-03 (from Dec 21)
-
3
-
Undefined
-
NEW
-
NEW
-
---
-
---
@Test @Ignore("without B it doesn't work on MVEL") public void testCompoundOperator() throws Exception { // DROOLS-5894 String drl = "import " + Person.class.getCanonicalName() + "\n" + "dialect \"mvel\"\n" + "rule R\n" + "when\n" + " $p : Person( age >= 26 )\n" + "then\n" + " $p.money += 50000;\n" + "end"; KieSession ksession = getKieSession(drl); Person john = new Person("John", 30); john.setMoney( new BigDecimal( 70000 ) ); ksession.insert(john); assertEquals(1, ksession.fireAllRules()); assertEquals(new BigDecimal( 120000 ), john.getMoney()); }
- is blocked by
-
DROOLS-5942 Bump Mvel version to 2.4.12+
- Closed
- is incorporated by
-
RHDM-1538 Compound assignment operation like BigDecimal_type_property <op> Numeric/BigDecimal_value causes an unexpected result or error in MVEL.
- Closed
- relates to
-
DROOLS-5894 Compound assignment operation like BigDecimal_type_property += Numeric_value causes compilation errors in executable model.
- Closed