]
Luca Molteni updated DROOLS-4558:
---------------------------------
Sprint: 2019 Week 38-40 (from Sep 16)
executable-model doesn't fully parse multi-line pattern
--------------------------------------------------------
Key: DROOLS-4558
URL:
https://issues.jboss.org/browse/DROOLS-4558
Project: Drools
Issue Type: Bug
Components: executable model
Affects Versions: 7.24.0.Final, 7.25.0.Final, 7.26.0.Final, 7.27.0.Final
Environment: - executable-model
Reporter: Toshiya Kobayashi
Assignee: Luca Molteni
Priority: Major
Labels: support
When a pattern has multiple lines, executable-model doesn't fully parse its
conditions.
{noformat}
rule R1 when
$p : Person(age == 30
|| employed == true)
then
end
{noformat}
Looking at the generated Java code, only the first line is parsed.
It doesn't have a problem in 7.23.0.Final so it seems to be a regression after that.