From: Eduardo S. (JIRA) <nh...@gm...> - 2010-09-23 21:51:57
|
[ http://216.121.112.228/browse/NHLQ-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19883#action_19883 ] Eduardo Segura commented on NHLQ-75: ------------------------------------ That's correct. The Linq provider is now part of the trunk (NHibernate.Linq.LinqExtensionsMethods), but I thought of reporting the issue within the scope of the NHibernate.Linq project for the sake of organization. (I'm sure the admin can move the issue if needed). The version field is mandatory when filing a bug, so I chose the only option available. > .Cacheable().Fetch() throws 'Exception occurred getter of xxx' Options > ----------------------------------------------------------------------- > > Key: NHLQ-75 > URL: http://216.121.112.228/browse/NHLQ-75 > Project: NHibernate.Linq > Issue Type: Bug > Components: Core > Affects Versions: 1.0.0 > Reporter: Eduardo Segura > Priority: Minor > Attachments: CacheableFetchTest.zip > > > This query: > IList<ParentObject> pos = session.Query<ParentObject>().Cacheable().Fetch(po => po.ChildObjects).ToList(); > throws this exception: > NHibernate.PropertyAccessException: Exception occurred getter of CacheableFetchTest.Entity`1[[System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Id ---> System.Reflection.TargetException: Object does not match target type.. > For a detailed discussion, including full exception stacks, please see: > http://groups.google.com/group/nhusers/browse_thread/thread/dfdbe987d8450b0a/cb812c856e07ee0a -- 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 |