Hi, We are in the process of upgrading our project from NHibernate 2.0.1 to 2.1 and have come across this stumbling block.
We have a number of entity classes that have properties with validators from the MS Enterprise Library. In particular, when we run unit tests that try to retrieve entities that have range validators on their properties, we get the following: NHibernate.HibernateException: Creating a proxy instance failed ---> Castle.DynamicProxy.ProxyGenerationException: There was an error trying to replicate non-inheritable attribute RangeValidatorAttribute using default attribute disassembler. Use custom implementation of IAttributeDisassembler (passed as 'AttributeDisassembler' property of ProxyGenerationOptions) to replicate this attribute. This code worked with 2.0.1. I will post up further details as I investigate the cause, but any tips on similar issues or what to look for would be appreciated. David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
