[jboss-jira] [JBoss JIRA] Updated: (JBRULES-970) filter of results from a "from" ce not working
Edgardo Carena (JIRA)
jira-events at lists.jboss.org
Wed Jul 4 10:55:51 EDT 2007
[ http://jira.jboss.com/jira/browse/JBRULES-970?page=all ]
Edgardo Carena updated JBRULES-970:
-----------------------------------
Description:
when I use a statement like this
$vendor : VendorDatabaseItem ( PIVA=="01255720169" ) from vendors.list;
it works, filtering the list "vendor.list" by taking only the items with $vendor.getPIVA equal to "01255720169".
however if I do something like
$piva : "01255720169";
$vendor : VendorDatabaseItem ( PIVA==$piva ) from vendors.list;
the result is different, and $vendor will get all the values in the list, ignoring the filter.
was:
whwn I use a statement like this
$vendor : VendorDatabaseItem ( PIVA=="01255720169" ) from vendors.list;
it works, filtering the list "vendor.list" by taking only the items with $vendor.getPIVA equal to "01255720169".
however if I do something like
$piva : "01255720169";
$vendor : VendorDatabaseItem ( PIVA==$piva ) from vendors.list;
the result is different, and $vendor will get all the values in the list, ignoring the filter.
> filter of results from a "from" ce not working
> ----------------------------------------------
>
> Key: JBRULES-970
> URL: http://jira.jboss.com/jira/browse/JBRULES-970
> Project: JBoss Rules
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Rule Flow
> Affects Versions: 4.0.0.MR3
> Reporter: Edgardo Carena
> Assigned To: Mark Proctor
> Priority: Critical
>
> when I use a statement like this
> $vendor : VendorDatabaseItem ( PIVA=="01255720169" ) from vendors.list;
> it works, filtering the list "vendor.list" by taking only the items with $vendor.getPIVA equal to "01255720169".
> however if I do something like
> $piva : "01255720169";
> $vendor : VendorDatabaseItem ( PIVA==$piva ) from vendors.list;
> the result is different, and $vendor will get all the values in the list, ignoring the filter.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list