[jboss-jira] [JBoss JIRA] Closed: (JBRULES-2025) Guided editor and contains operator
Gilles Hestin (JIRA)
jira-events at lists.jboss.org
Tue Mar 24 12:00:23 EDT 2009
[ https://jira.jboss.org/jira/browse/JBRULES-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilles Hestin closed JBRULES-2025.
----------------------------------
Resolution: Cannot Reproduce Bug
Sorry, I've done a mistake.
> 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: 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