Author Topic: Redefines don't work when using quicklinker to create element  (Read 2725 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13227
  • Karma: +550/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Details:
I've redefined ArchiMate_Capability with my own stereotype, using _HideUMLLinks. Then I added a stereotyped relation with stereotype ArchiMate3::ArchiMate_Composition.
This works just fine when linking two existing ArchiMate_Capability elements using either the quicklinker or the toolbox.
When using the quicklinker to create a new ArchiMate_Capability however I'm getting a ArchiMate3::ArchiMate_Capability, and not a MyProfile::ArchiMate_Capability.
If I have redefined the stereotype ArchiMate3::ArchiMate_Capability, and my MDG is the active one, I expect every new ArchiMate Capability to be a MyProfile::ArchiMate_Capability, not only the ones I create using the toolbox.

Steps to Reproduce:
- Redefine ArchiMate3::ArchiMate_Capability with MyProfile::ArchiMate_Capability
- Add stereotyped relation to self with stereotype ArchiMate3::ArchiMate_Composition
- set the MDG with MyProfile as active technology
- Create a ArchiMate_Capability (resulting in MyProfile::ArchiMate_Capability)
- Use the quicklink to create a new ArchiMate_Capability via the Composes relation
- Notice that EA creates a standard ArchiMate3::ArchiMate_Capability, and complains about the relation to be invalid

Reported

Geert