[
https://issues.jboss.org/browse/DROOLS-73?page=com.atlassian.jira.plugin....
]
RH Bugzilla Integration commented on DROOLS-73:
-----------------------------------------------
Mario Fusco <mfusco(a)redhat.com> made a comment on [bug
917720|https://bugzilla.redhat.com/show_bug.cgi?id=917720]
I fixed this issue on the master and backported the fix to the 5.5.x branch.
Let me know if it should be backported also on the 5.3.x branch where it has been
reported.
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
Fix For: 5.6, 6.0.0.Alpha1
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