From: Marko K. (J. <nh...@gm...> - 2011-04-14 09:58:11
|
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 |