Author Topic: The requested relationship is not metamodel compliant  (Read 411 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1669
  • Karma: +112/-11
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
The requested relationship is not metamodel compliant
« on: June 18, 2020, 10:30:31 pm »
Hello,


If you work really hard you can get EA to pop a message telling you the requested connector is not UML compliant.

With the introduction of metamodel constraints it would be helpful if, when a user tries to create a relationship that is not permitted by the constraints, EA popped a similar message but referring to the metamodel. More helpful still if it could specify which metamodel was prohibiting the relationship. (Technology I guess?)

"Relationship" refers to all types of relationship that can be specified with the metamodel constraints, not just connectors.


/Uffe
My theories are always correct, just apply them to the right reality.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 7232
  • Karma: +83/-10
    • View Profile
Re: The requested relationship is not metamodel compliant
« Reply #1 on: June 19, 2020, 07:25:58 am »
There are actually more informative messages that the metamodel connector validation gives.

"Invalid combination of source and target types for this connector type."
"Invalid source type for this connector type."
"Invalid target type for this connector type."
"Invalid source and target types for this connector type."

The other relationships that EA checks for usually take the form that you can't select them in the first place so there are no messages for them.
« Last Edit: June 19, 2020, 09:42:08 am by RoyC »
Eve

support@sparxsystems.com