From: Daniel G. (JIRA) <nh...@gm...> - 2011-04-21 19:23:38
|
[ http://216.121.112.228/browse/NH-2664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Guenter updated NH-2664: ------------------------------- Attachment: NH2664_failing_test_case.patch > Linq, cannot query dynamic-component > ------------------------------------ > > Key: NH-2664 > URL: http://216.121.112.228/browse/NH-2664 > Project: NHibernate > Issue Type: Bug > Components: Linq Provider > Affects Versions: 3.1.0 > Reporter: Daniel Guenter > Priority: Major > Attachments: NH2664_failing_test_case.patch > > > Querying a dynamic-component using ling results in an exception > System.InvalidCastException : Unable to cast object of type 'NHibernate.Type.ComponentType' to type 'NHibernate.Type.CollectionType'. > From > NHibernate.Hql.Ast.ANTLR.Tree.DotNode.ResolveIndex(IASTNode parent) in DotNode.cs: line 141 > at NHibernate.Hql.Ast.ANTLR.Tree.IndexNode.Resolve(Boolean generateJoin, Boolean implicitJoin, String classAlias, IASTNode parent) in IndexNode.cs: line 47 > at NHibernate.Hql.Ast.ANTLR.Tree.FromReferenceNode.Resolve(Boolean generateJoin, Boolean implicitJoin, String classAlias) in FromReferenceNode.cs: line 57 > at NHibernate.Hql.Ast.ANTLR.Tree.FromReferenceNode.Resolve(Boolean generateJoin, Boolean implicitJoin) in FromReferenceNode.cs: line 62 > at NHibernate.Hql.Ast.ANTLR.HqlSqlWalker.ProcessIndex(IASTNode indexOp) in HqlSqlWalker.cs: line 821 -- 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 |