[castle][JIRA] Created: (MR-223) AmbiguousMatch exception when querying properties from NHibernate-enabled objects

6 views
Skip to first unread message

Grimace of Despair (JIRA)

unread,
Feb 2, 2007, 3:59:33 AM2/2/07
to castle-pro...@googlegroups.com
AmbiguousMatch exception when querying properties from NHibernate-enabled objects
---------------------------------------------------------------------------------

Key: MR-223
URL: http://support.castleproject.org//browse/MR-223
Project: MonoRail
Issue Type: Bug
Components: ViewEngine - Brail
Reporter: Grimace of Despair
Assigned To: Ayende Rahien


When using NHibernate on an object model, querying an instance triggers an AmbiguousMatchException.

Some debugging learns that the ambiguous match arises from the fact that the object contains both its real properties, as the NHibernate proxied versions.

The problem does _not_ arise when looping over a fetched collection of those instances (might make sense for those into it :) )

I have no code at hand here, but let me know if you need it to reproduce this issue, then I'll have a look at it later.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://support.castleproject.org//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Ayende Rahien (JIRA)

unread,
Feb 24, 2007, 4:09:06 PM2/24/07
to castle-pro...@googlegroups.com
[ http://support.castleproject.org//browse/MR-223?page=all ]

Ayende Rahien resolved MR-223.
------------------------------

Resolution: Fixed

fixed on trunk

Reply all
Reply to author
Forward
0 new messages