Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Rich Anderson on July 14, 2017, 10:20:32 pm

Title: Archimate 3 Composition - Now behaving differently
Post by: Rich Anderson on July 14, 2017, 10:20:32 pm
I'm working on an Archimate 3 model and have been using the Composition relation without any issues.  However, just today, when I draw a composition relation between two objects, the aggregation property on the one end get set to "none" (so the line is just plain with no filled in diamond) and the stereotype is now "ArchiMate3::ArchiMate_Composition" rather than just "ArchiMate_Composition" as it used to be. I can fix this by manually changing the aggregation property and stereotype property manually, but this is a pain.   By the way, the Aggregation relation and all the others are working fine. It's only this one that has gone wonky.   I've tried including and excluding the MDG and a few other things, but cannot get it back to the way it was before.   The only fix I have used before was to create a new EAP and basically export my entire model to it, but I don't want to do that now because the model is rather large.   Any ideas how to fix this?  Is this something that can be patched in my current EAP?
Title: Re: Archimate 3 Composition - Now behaving differently
Post by: Glassboy on July 16, 2017, 08:21:39 am
It may be worth checking the stereotypes in that model to see if you haven't accidently ended up manually creating one with the same name as the MDG.
Title: Re: Archimate 3 Composition - Now behaving differently
Post by: Eve on July 17, 2017, 09:02:33 am
Check the model stereotypes list. You might find a stereotype named 'ArchiMate3::ArchiMate_Composition'. If you do, delete it.

There will probably be entries where the stereotype is set that could try to automatically recreate the record. If so, you may need to delete them before deleting the stereotype definition.
Title: Re: Archimate 3 Composition - Now behaving differently
Post by: Rich Anderson on July 21, 2017, 04:11:19 am
That was it!   Thank you both!
Title: Re: Archimate 3 Composition - Now behaving differently
Post by: Graham_Moir on July 24, 2017, 07:27:47 pm
For reference you might want to look at this thread

http://sparxsystems.com/forums/smf/index.php/topic,38290.msg

There is an acknowledged bug for which a fix is awaited.