[jboss-jira] [JBoss JIRA] (DROOLS-4558) executable-model doesn't fully parse multi-line pattern

Toshiya Kobayashi (Jira) issues at jboss.org
Mon Sep 23 23:07:00 EDT 2019


Toshiya Kobayashi created DROOLS-4558:
-----------------------------------------

             Summary: 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.27.0.Final, 7.26.0.Final, 7.25.0.Final, 7.24.0.Final
         Environment: - executable-model
            Reporter: Toshiya Kobayashi
            Assignee: Luca Molteni


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.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list