[jboss-jira] [JBoss JIRA] Created: (JBRULES-1858) a double quote in a textual when criterion doesn't work

Jean-Marc Vanel (JIRA) jira-events at lists.jboss.org
Fri Nov 21 08:49:36 EST 2008


 a double quote in a textual when criterion doesn't work
--------------------------------------------------------

                 Key: JBRULES-1858
                 URL: https://jira.jboss.org/jira/browse/JBRULES-1858
             Project: JBoss Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: drools-compiler
    Affects Versions:  5.0.0.M2
         Environment: eclipse plugin, Linux, Java 6
            Reporter: Jean-Marc Vanel
            Assignee: Mark Proctor


To reproduce: 

- take the Hello World project;
- add a field named "text" in Message class;
- add this in the when of rule 1 :
         , text == "message\""
- add this in the main() method:
                    message.setText("message\"");
- Then no output is produced :-( .

Of course if you remove \" in both places it works.

-- 
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