[jboss-jira] [JBoss JIRA] (DROOLS-713) Guvnor/BRMS not converting freeform DRL val == $var + 1 correctly
Daniel Daniel (JIRA)
issues at jboss.org
Mon Feb 16 08:24:49 EST 2015
Daniel Daniel created DROOLS-713:
------------------------------------
Summary: 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: Mark Proctor
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