[jboss-jira] [JBoss JIRA] (DROOLS-414) Queries do not work with chained accessors as arguments
Davide Sottara (JIRA)
issues at jboss.org
Wed Jan 22 22:16:29 EST 2014
Davide Sottara created DROOLS-414:
-------------------------------------
Summary: Queries do not work with chained accessors as arguments
Key: DROOLS-414
URL: https://issues.jboss.org/browse/DROOLS-414
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 6.0.1.Final, 5.5.0.Final
Reporter: Davide Sottara
Assignee: Mark Proctor
When processing a query CE that uses chained property accessors:
when
$x : Foo()
myQuery( $x.bar ; )
then
the QueryElementBuilder considers the whole expression $x.bar as a variable. Since no variable with that name has been bound, it is taken to be a new declaration, and thus an output. This results in an inconsistent behavior, since an obvious constraint will be ignored.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list