Book a Demo

Author Topic: MDG Tech: "Merge" pattern creates new element  (Read 4286 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
MDG Tech: "Merge" pattern creates new element
« on: November 18, 2011, 03:12:38 am »
Hi!


I'm building an MDG Technology where I want to include an extremely simple pattern: create one new element (A) and draw one connector from that new element to one existing element (B).
I've drawn my diagram and saved it as a pattern, specifying "Create" as the only option for element A, and "Merge" as the only option for element B.

When I load my MDG Technology and apply the pattern, element A is created, and the connector is created and hooked up to the existing element which I've selected in the browser. Fine.
But in addition, a new element named B is created.

Am I doing something wrong here? Does anyone recognize this behaviour?

Cheers,


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

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: MDG Tech: "Merge" pattern creates new element
« Reply #1 on: November 18, 2011, 08:08:42 am »
I'm currently working on this. Can you confirm what type of element "B" is please? I can reproduce with a small number of element types, mostly the "structured comments" (Requirement etc).
The Sparx Team
[email protected]

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: MDG Tech: "Merge" pattern creates new element
« Reply #2 on: November 18, 2011, 06:37:12 pm »
Element A is an Activity, with a stereotype from a profile ("P") in the same MDG Technology.

Element B is a Process, from the built-in Extended profile (a stereotyped Activity).

The connector is a Dependency, also with a stereotype from profile P.

Both of my stereotypes are common-or-garden ones with no tagged values, shape scripts or any custom attributes.

Thanks!


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

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: MDG Tech: "Merge" pattern creates new element
« Reply #3 on: November 19, 2011, 02:12:45 am »
Hi again,

I also noticed the same behaviour for the "A" element when I specified them both as Merge only.

Cheers,

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