[jboss-jira] [JBoss JIRA] Created: (JBRULES-2022) syntax error in modify block causes OutOfBounds in consequence builder

Wolfgang Laun (JIRA) jira-events at lists.jboss.org
Sun Mar 22 06:47:22 EDT 2009


syntax error in modify block causes OutOfBounds in consequence builder
----------------------------------------------------------------------

                 Key: JBRULES-2022
                 URL: https://jira.jboss.org/jira/browse/JBRULES-2022
             Project: JBoss Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: drools-compiler (expert)
    Affects Versions: 5.0.0.CR1
            Reporter: Wolfgang Laun
            Assignee: Mark Proctor
             Fix For: FUTURE


org.drools.rule.builder.dialect.java.JavaConsequenceBuilder.rewriteModify(JavaConsequenceBuilder.java:251)

caused by, e.g.,
   modify( $fact ){
      setF1( "foo" );  # <------ semicolon
      setF2( "bar" );
   }

or by:
   modify( $fact );

Please provide documentation on the modify block syntax.



    

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