]
Edson Tirelli closed JBRULES-1839.
----------------------------------
Resolution: Done
done.
Problem with DSL if there is no RHS
-----------------------------------
Key: JBRULES-1839
URL:
https://jira.jboss.org/jira/browse/JBRULES-1839
Project: JBoss Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-compiler
Affects Versions: 5.0.0.M2
Reporter: Toni Rikkola
Assignee: Edson Tirelli
DSL doesn't work if there is no RHS. It connects the "then" and
"end" to "thenend".
There is a unit test for this: DSLMappingFileTest.FIXMEtestNoRHS()
For example:
rule "DateDslRule"
dialect "mvel"
when
When the applicant dates is after 20-Oct-2008
then
end
=====>
rule "DateDslRule"
dialect "mvel"
when
applicant:Applicant(applicationDate>"20-Oct-2008")
thenend
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: