Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: Uffe on November 18, 2011, 03:12:38 am

Title: MDG Tech: "Merge" pattern creates new element
Post by: Uffe 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
Title: Re: MDG Tech: "Merge" pattern creates new element
Post by: KP 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).
Title: Re: MDG Tech: "Merge" pattern creates new element
Post by: Uffe 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
Title: Re: MDG Tech: "Merge" pattern creates new element
Post by: Uffe 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