[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2268) Unknown Parser Error when spreading rule condition over multiple lines
Jeremy Ary (JIRA)
jira-events at lists.jboss.org
Fri Sep 4 15:14:23 EDT 2009
[ https://jira.jboss.org/jira/browse/JBRULES-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeremy Ary updated JBRULES-2268:
--------------------------------
Environment: XP-SP3, eclipse 3.4.2, 5.0.0.CR1 (also tested at 5.0.1 at Edson's request) (was: XP-SP3, eclipse 3.4.2, 5.0.0.CR1)
Affects Version/s: 5.0.1.FINAL
> Unknown Parser Error when spreading rule condition over multiple lines
> ----------------------------------------------------------------------
>
> Key: JBRULES-2268
> URL: https://jira.jboss.org/jira/browse/JBRULES-2268
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-compiler
> Affects Versions: 5.0.0.CR1, 5.0.1.FINAL
> Environment: XP-SP3, eclipse 3.4.2, 5.0.0.CR1 (also tested at 5.0.1 at Edson's request)
> Reporter: Jeremy Ary
> Assignee: Edson Tirelli
>
> Full message:
> Unknown error while parsing. This is a bug. Please contact the Development team.
> To recreate:
> I broke a condition over multiple lines and mistakenly misgrouped my parentheses, leading to an unknown error while parsing:
> rule "recreate bug"
> when
> Loan ( amount >= 175000 )
> && ( program == "FHA" ) )
> then
> modify (queueList) { add (QueueIds.UWENTRY) }
> end
> When corrected to the following, the rule is parsed properly:
> rule "recreate bug"
> when
> Loan ( ( amount >= 175000 )
> && ( program == "FHA" ) )
> then
> modify (queueList) { add (QueueIds.UWENTRY) }
> end
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list