From: Michael T. (JIRA) <nh...@gm...> - 2011-04-26 19:03:52
|
NotSupportedException in NewArrayInitExpression ----------------------------------------------- Key: NH-2678 URL: http://216.121.112.228/browse/NH-2678 Project: NHibernate Issue Type: Bug Components: Linq Provider Affects Versions: 3.1.0 Reporter: Michael Teper Priority: Major The following LINQ query throws a NotSupportedException in NewArrayInitExpression: var results = from node in ISession.Query<Node>() select new[] { node.Manager }.Union(node.Subordinates); In the example above, Manager is of type Person and Subordinates is a collection of Persons. -- 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 |
From: Fabio M. (JIRA) <nh...@gm...> - 2011-04-26 19:24:00
|
[ http://216.121.112.228/browse/NH-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20973#action_20973 ] Fabio Maulo commented on NH-2678: --------------------------------- Please, mappings and classes to create a test if you don't want send us a test. > NotSupportedException in NewArrayInitExpression > ----------------------------------------------- > > Key: NH-2678 > URL: http://216.121.112.228/browse/NH-2678 > Project: NHibernate > Issue Type: Bug > Components: Linq Provider > Affects Versions: 3.1.0 > Reporter: Michael Teper > Priority: Major > > The following LINQ query throws a NotSupportedException in NewArrayInitExpression: > var results = from node in ISession.Query<Node>() > select new[] { node.Manager }.Union(node.Subordinates); > In the example above, Manager is of type Person and Subordinates is a collection of Persons. -- 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 |
From: Fabio M. (JIRA) <nh...@gm...> - 2011-04-26 19:24:13
|
[ http://216.121.112.228/browse/NH-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabio Maulo updated NH-2678: ---------------------------- Issue Type: Improvement (was: Bug) > NotSupportedException in NewArrayInitExpression > ----------------------------------------------- > > Key: NH-2678 > URL: http://216.121.112.228/browse/NH-2678 > Project: NHibernate > Issue Type: Improvement > Components: Linq Provider > Affects Versions: 3.1.0 > Reporter: Michael Teper > Priority: Major > > The following LINQ query throws a NotSupportedException in NewArrayInitExpression: > var results = from node in ISession.Query<Node>() > select new[] { node.Manager }.Union(node.Subordinates); > In the example above, Manager is of type Person and Subordinates is a collection of Persons. -- 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 |
From: Evgeniy (JIRA) <nh...@gm...> - 2011-06-24 06:19:52
|
[ http://216.121.112.228/browse/NH-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21322#action_21322 ] Evgeniy commented on NH-2678: ----------------------------- Duplicate here: NH-2744 > NotSupportedException in NewArrayInitExpression > ----------------------------------------------- > > Key: NH-2678 > URL: http://216.121.112.228/browse/NH-2678 > Project: NHibernate > Issue Type: Improvement > Components: Linq Provider > Affects Versions: 3.1.0 > Reporter: Michael Teper > Priority: Major > > The following LINQ query throws a NotSupportedException in NewArrayInitExpression: > var results = from node in ISession.Query<Node>() > select new[] { node.Manager }.Union(node.Subordinates); > In the example above, Manager is of type Person and Subordinates is a collection of Persons. -- 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 |