[
https://issues.jboss.org/browse/JBRULES-3438?page=com.atlassian.jira.plug...
]
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