This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I am trying to create an entity (EosClaim) in one model, linked to ae entity (User) in another model. When I paste the EosClaim link into the other model and save, I get the following error:\ External reference EosClaim specifies an inheritance relationship. Inheritance may not be defined on links. Neither EosClaim or User have any inheritance so I am perplexed. Any ideas?
Sean |
|
|
Is it possible you have a common base class that all your entities derive from? It might be non-obvious if you are hiding arrows to a common base class to avoid cluttering the diagram. If you have an entity creation policy that specifies a common base class, that *might* affect pasting of links (if that's what happened, let us know and we'll fix it). If that's definitely not the case then could you post the model file that includes the link (we probably don't need to see the 'real' EosClaim entity)? Thanks! |
|
|
The User entity has a custom base class, but the EosClaim doesn't. It is set in the defaults policy for the User model but not for the EosClaim model. However when I pasted the EosClaim link, it inserted the base class into the link. e.g. <externalClassReference name="LightspeedUtils.BaseEntity"> So yeah, your pasting went wrong. Removing the highlighted lines has fixed the problem. Sean
|
|