[jboss-jira] [JBoss JIRA] Closed: (JBRULES-1839) Problem with DSL if there is no RHS

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Thu Nov 13 11:28:36 EST 2008


     [ https://jira.jboss.org/jira/browse/JBRULES-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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: 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