|
From: Fabio M. (JIRA) <nh...@gm...> - 2011-05-17 22:13:48
|
[ http://216.121.112.228/browse/NH-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fabio Maulo updated NH-2559:
----------------------------
Summary: NH 3.0 Linq Provider : Issue using multiple filters on the same entity (was: NH 3.0 Linq Provider : Issue using multiple filters on the same entity - test case attached)
> NH 3.0 Linq Provider : Issue using multiple filters on the same entity
> ----------------------------------------------------------------------
>
> Key: NH-2559
> URL: http://216.121.112.228/browse/NH-2559
> Project: NHibernate
> Issue Type: Bug
> Components: Linq Provider
> Affects Versions: 3.0.0.GA
> Reporter: Justin Greene
> Priority: Critical
> Attachments: DotNodeFix.patch, ManyToManyAny.patch
>
>
> Exception:
> NHibernate.Test.Linq.ByMethod.AnyTests.ManyToManyAny:
> NHibernate.QueryException : could not resolve property: Description of: NHibernate.DomainModel.Northwind.Entities.Employee [.Where[NHibernate.DomainModel.Northwind.Entities.Order](.Where[NHibernate.DomainModel.Northwind.Entities.Order](NHibernate.Linq.NhQueryable`1[NHibernate.DomainModel.Northwind.Entities.Order], Quote((o, ) => (String.op_Equality(o.Employee.Address.Region, p1))), ), Quote((o, ) => (.Any[NHibernate.DomainModel.Northwind.Entities.Territory](o.Employee.Territories, (t, ) => (String.op_Equality(t.Description, p2)), ))), )]
> Details:
> If you remove the first where clause the query will work properly. Adding it back in results in the above exception. I've also run into a separate version of what I believe is the same problem; except that it fails silently and just produces an incorrect subquery. I am unable to reproduce this second issue in nhibernates test harness.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|