[jboss-jira] [JBoss JIRA] (DROOLS-713) Guvnor/BRMS not converting freeform DRL val == $var + 1 correctly

Michael Anstis (JIRA) issues at jboss.org
Mon Feb 16 10:24:49 EST 2015


    [ https://issues.jboss.org/browse/DROOLS-713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040580#comment-13040580 ] 

Michael Anstis commented on DROOLS-713:
---------------------------------------

*drools/drools-workbench-models*
(master) http://github.com/droolsjbpm/drools/commit/cf143ffbe

(6.2.x) http://github.com/droolsjbpm/drools/commit/fe1c49b00

> Guvnor/BRMS not converting freeform DRL val == $var + 1 correctly
> -----------------------------------------------------------------
>
>                 Key: DROOLS-713
>                 URL: https://issues.jboss.org/browse/DROOLS-713
>             Project: Drools
>          Issue Type: Bug
>    Affects Versions: 6.2.0.CR4
>            Reporter: Daniel Daniel
>            Assignee: Michael Anstis
>            Priority: Minor
>
> Here is a shorter version of my rule:
> rule "X"
> agenda-group "MyGroup"
> salience 900
> when
>  $bundle : MyClass($protocolSequence : protocolSequence)
>  eval($protocolSequence != null)
>  $followupBundle : MyClass(protocolSequence == $protocolSequence + 1)
> then
>    ...
> end
> When I save in BRMS's UI, it shows the "protocolSequence == $protocolSequence + 1" condition incorrectly.
> It just shows [protocolSequence] [equal to] [Choose...]
> And the Choose... dropdown gives me the names of my variables.
> The source tab shows the correct DRL at least.  So it is probably just a cosmetic issue, but it does mean I can only modify the rule using freeform DRL, which is not good for when I hand it over to the business users.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list