Custom Version type (IUserVersionType) not allowed

Description

In the constructor for the CustomType class, line 33 (name=userTypeClass.Name) s/b name=userTypeClass.AssemblyQualifiedName. Assigning only the name property prevents construction of the custom type if it is external to the nhibernate project.

Environment

None

Attachments

1
  • 08 Jul 2008, 09:29 AM
100% Done
Loading...

Activity

Show:

Philip Japikse July 8, 2008 at 9:29 AM

smaller zip

took out the binaries...

Philip Japikse July 8, 2008 at 7:21 AM

Fabio Maulo July 6, 2008 at 7:50 AM

Please send us a failing test and we will reopen this issue after check the failing test.
Thanks.

Philip Japikse July 5, 2008 at 9:53 AM

I discovered this issue implementing this example: http://www.codeproject.com/KB/dotnet/OptLocking_PrefixTable.aspx

It works fine in the 1.2 code base, but doesn't work in the 2.0 code base. Maybe my solution isn't the "proper" solution, but it fixed the issue. Could you please tell me then what has changed in the 2.0 codebase to break this example?

Fabio Maulo July 3, 2008 at 8:13 PM

Are you sure ?
The property "Name" is never used to create the type; AssemblyQualifiedName is unneeded.
Probably you have a problem in your mapping.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Who's Looking?

Open Who's Looking?
Created June 30, 2008 at 5:35 AM
Updated July 8, 2008 at 2:46 PM
Resolved July 8, 2008 at 2:46 PM
Who's Looking?