[jboss-jira] [JBoss JIRA] Reopened: (JBRULES-2022) syntax error in modify block causes OutOfBounds in consequence builder
Mark Proctor (JIRA)
jira-events at lists.jboss.org
Thu May 14 23:09:01 EDT 2009
[ https://jira.jboss.org/jira/browse/JBRULES-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Proctor reopened JBRULES-2022:
-----------------------------------
> 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: 5.0.1.FINAL
>
>
> StringIndexOutOfBounds occurs in
> 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