Issues

Select view

Select search mode

 

Validator displays wrong error "The 'inverse' attribute is not declared." when "not-null" is missing

Description

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.

Environment

None

Details

Assignee

Reporter

Components

Affects versions

Priority

Who's Looking?

Open Who's Looking?
Created April 14, 2011 at 2:56 AM
Updated April 15, 2011 at 12:12 PM

Activity

Show:

Marko KovačićApril 15, 2011 at 12:12 PM

I don't have any tests ready or know how to make them quickly, sorry.
It's just wrong error message in the exception.

Dario QuintanaApril 15, 2011 at 12:06 PM

A simple test to reproduce the problem would be nice.
Thanks

Who's Looking?
Loading...