[jboss-jira] [JBoss JIRA] (DROOLS-73) Infinite loop when expanding DSL rule

Mario Fusco (JIRA) jira-events at lists.jboss.org
Fri Mar 8 10:04:42 EST 2013


Mario Fusco created DROOLS-73:
---------------------------------

             Summary: Infinite loop when expanding DSL rule
                 Key: DROOLS-73
                 URL: https://issues.jboss.org/browse/DROOLS-73
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: Mario Fusco
            Assignee: Mario Fusco


Description of problem:
Given a DSL configuration containing
> [when]Foo with {var} bars=Foo( bars == {var} )

and a probably incorrect rule containing
> when
>     Foo with {var} bars

When this rule is expanded by org.drools.lang.dsl.DefaultExpander the expansion gets stuck in an infinite loop, probably substituting {var} with {var} again and again.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list