[jboss-jira] [JBoss JIRA] (JBRULES-3438) Blanks between () causes syntax error in DSL expansion
Mario Fusco (JIRA)
jira-events at lists.jboss.org
Fri Apr 6 03:52:47 EDT 2012
[ https://issues.jboss.org/browse/JBRULES-3438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco resolved JBRULES-3438.
----------------------------------
Fix Version/s: 5.3.2.Final
5.4.0.Final
Resolution: Done
> Blanks between () causes syntax error in DSL expansion
> ------------------------------------------------------
>
> Key: JBRULES-3438
> URL: https://issues.jboss.org/browse/JBRULES-3438
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-compiler-DSL
> Affects Versions: 5.4.0.Beta2
> Reporter: Wolfgang Laun
> Assignee: Mario Fusco
> Priority: Minor
> Fix For: 5.3.2.Final, 5.4.0.Final
>
>
> // === DSL ============================================
> [keyword][]greater than=>
> [condition][]- where {VarName} is {AttributeName} and is {operator} {value}=
> {VarName}: {AttributeName} {operator} {value}
> [condition][]ThereIsProgramHistoryData = ProgramHistory ( )
> // === DSLR ===========================================
> rule lpygt0
> when
> ThereIsProgramHistoryData
> - where $var01 is levelPriorYear and is greater than 0
> then
> end
> // ====================================================
> produces incorred DRL due to the redundant spaces in ProgramHistory ( )
> ProgramHistory ( , $var01: levelPriorYear > 0 )
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list