|Re: Bug in validation with ecore model in 3.5 : "containment or bidirectionnal reference must b [message #431431 is a reply to message #431430]
||Thu, 09 July 2009 10:08
| Ed Merks
Registered: July 2009
Steven Derrien wrote:
> I recently switched to Galileo and I am now facing some strange bug
> during the model validation stage :
> I get a "containment or bidirectionnal reference must be unique" error
> for a EReference field whereas my model passed validation without
> trouble in 3.4.
That's because of https://bugs.eclipse.org/bugs/show_bug.cgi?id=259368
> I am not sure what the meaning of this validation error is, anyhow,
> this error can be simply avoided by recreating in the editor the very
> same Referance field (same name, same containment and upperbound
> This stringly suggests that is a bug rather than a more restrictive
> validation in 3.5.
> Is anybody aware of this issue ?
Definitely. You just need to change your feature to set "unique" to
false. The generator "auto corrects" this anyway, which is why you
never noticed it's a problem.
> Thanks in advance,
Professional Support: https://www.macromodeling.com/
Powered by FUDForum
. Page generated in 0.01435 seconds