Fix for NHV-71 has broken nest components

Description

This problem took me a while to track down:

As far as I can tell, the properties of nested components do not set the "PersistentClass". After upgrading to 1.2.0CR1 I have encountered a null reference exception in ValidatePreInsertEventListener class on line 101. This is part of the code I think was introduced in rev 1116 as a fix for NHV-71. I'm not sure if NHibernate itself is populating the mapped properties wrong,or if NHV is making an incorrect assumption.

Environment

None

Activity

Show:

Dario Quintana May 7, 2010 at 9:54 AM

Fixed in

Valeriu Caraulean April 6, 2010 at 6:06 AM

I think is kind of a duplication of this issue.
But it has a unit test that shows the problem.

Being completely blocked with migration to latest versions will try the tip with [Valid] attribute.

Joseph Daigle January 29, 2010 at 9:43 PM

Thank you. Marking nested components as [Valid] fixed the issue.

Fabio Maulo January 29, 2010 at 2:02 PM

can you send a test case ?
Is the nested component marked as [Valid] ?

Duplicate

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Who's Looking?

Open Who's Looking?
Created January 15, 2010 at 9:09 PM
Updated May 7, 2010 at 9:54 AM
Resolved May 7, 2010 at 9:54 AM
Who's Looking?