From: Dario Q. (JIRA) <nh...@gm...> - 2011-04-15 19:08:16
|
[ http://216.121.112.228/browse/NHV-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20909#action_20909 ] Dario Quintana commented on NHV-115: ------------------------------------ A simple test to reproduce the problem would be nice. Thanks > Validator displays wrong error "The 'inverse' attribute is not declared." when "not-null" is missing > ---------------------------------------------------------------------------------------------------- > > Key: NHV-115 > URL: http://216.121.112.228/browse/NHV-115 > Project: NHibernate.Validator > Issue Type: Bug > Components: Core > Affects Versions: 1.3.0 GA > Reporter: Marko Kovačić > > I had a bidirectional mapping, with this on the child side: > <many-to-one name="Subjekt" column="SubjektId" inverse="true" /> > But I kept ketting error message: > XML validation error: The 'inverse' attribute is not declared. > And that drived me crazy as the inverse attribute is obviously there... finally I've tried not-null="true" and the message dissapeared. So please just update the error message so people don't get stuck on this. > Thank you. -- 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 |