[jboss-jira] [JBoss JIRA] Created: (JBRULES-2025) Guided editor and contains operator

Hestin Gilles (JIRA) jira-events at lists.jboss.org
Tue Mar 24 10:03:22 EDT 2009


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: Hestin Gilles
            Assignee: Mark Proctor


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