[jboss-jira] [JBoss JIRA] (DROOLS-86) DSL string is having semi-colon added to //

Mario Fusco (JIRA) jira-events at lists.jboss.org
Tue Mar 26 11:44:41 EDT 2013


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

Mario Fusco resolved DROOLS-86.
-------------------------------

    Fix Version/s: 5.6
                   6.0.0.Alpha1
       Resolution: Done


The problem wasn't caused by the dsl expander, indeed I could reproduce it even with a plain DRL.
It was caused by the expression delimiter when creating the mvel consequence and I fixed it.
                
> DSL string is having semi-colon added to //
> -------------------------------------------
>
>                 Key: DROOLS-86
>                 URL: https://issues.jboss.org/browse/DROOLS-86
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.5
>         Environment: linux
>            Reporter: Richard Ambridge
>            Assignee: Mario Fusco
>              Labels: dsl
>             Fix For: 5.6, 6.0.0.Alpha1
>
>
> If the DSL has a statement like:
> "[then]setout {val}=String me=\"http://onefineday.{val}\";System.out.println(me)\n ";
> and a rule has:   setout 123
> the result is  http:;//onefineday.123 
> notice the http:;   <- semi colon added by drools

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list