[ http://216.121.112.228/browse/NHV-115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20910#action_20910 ]
Marko Kovačić commented on NHV-115:
-----------------------------------
I don't have any tests ready or know how to make them quickly, sorry.
It's just wrong error message in the exception.
> 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
|