]
Gilles Hestin updated JBRULES-2025:
-----------------------------------
Attachment: 2025.jpg
Guided editor and contains operator
-----------------------------------
Key: JBRULES-2025
URL:
https://jira.jboss.org/jira/browse/JBRULES-2025
Project: JBoss Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-guvnor
Affects Versions: 5.0.0.CR1
Environment: OS : Windows XP pro
Guvnor started on jboss 4.2.3
Reporter: Gilles Hestin
Assignee: Mark Proctor
Attachments: 2025.jpg
The guided editor allows to use the contains operator with a bound variable.
But the output DRL source in this case is wrong : the variable hasn't got the $
prefix.
Example :
rule "testGHE"
dialect "mvel"
when
cli : Client( type == "01" , category == "001" )
req : Request( clientList contains cli )
then
cli.setNature( "3" );
req.setId( "id req" );
end
We should have "req : Request( clientList contains $cli )" instead of "req
: Request( clientList contains cli )"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: