[jboss-jira] [JBoss JIRA] Updated: (JBRULES-3195) Incorrect and inconsistent errors for x.y and y.getY() in constraint expressions
Geoffrey De Smet (JIRA)
jira-events at lists.jboss.org
Sun Sep 25 04:02:33 EDT 2011
[ https://issues.jboss.org/browse/JBRULES-3195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Geoffrey De Smet updated JBRULES-3195:
--------------------------------------
Fix Version/s: 5.3.0.Final
(was: 5.3.0.CR1)
> Incorrect and inconsistent errors for x.y and y.getY() in constraint expressions
> --------------------------------------------------------------------------------
>
> Key: JBRULES-3195
> URL: https://issues.jboss.org/browse/JBRULES-3195
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-compiler (expert)
> Affects Versions: 5.3.0.Beta1
> Reporter: Wolfgang Laun
> Assignee: Edson Tirelli
> Fix For: 5.3.0.Final
>
>
> Parser flags space before/after dot incorrectly and inconsistently.
> The error message for $e is grossly misleading. The expected
> behaviour is to accept all of the 6 forms given below.
> declare Student
> name : String @key
> end
> rule "Subject grade points"
> when
> #OK $a : Student( $someStudent.name != null )
> #OK $b : Student( $someStudent .name != null )
> #BAD $c : Student( $someStudent. name != null )
> #OK $d : Student( $someStudent.getName() != null )
> #BAD $e : Student( $someStudent .getName() != null )
> #OK $f : Student( $someStudent. getName() != null )
> then
> end
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list