Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: jdoran-anglo on December 20, 2013, 03:43:34 pm

Title: How to debug MDG technologies not updating
Post by: jdoran-anglo on December 20, 2013, 03:43:34 pm
I have made several MDG technologies in the past, but this particular one is driving me nuts.

I have updated an enum and it is not getting updated in the MDG when it is regenerated.

Does anyone have some tips to share on how I can start troubleshooting this? I have tried closing EA after unloading all MDGs before loading the MDG again.

Update the MDG enum
http://i.imgur.com/vKuaQKH.png

Regenerate the MDG and place the element. We can see it is of the device type from the first screenshot.
http://i.imgur.com/clUDdJs.png

The enum list does not match!!!
http://i.imgur.com/N8br5PZ.png

Attempt to resync the toolbar
http://i.imgur.com/8GGs0HZ.png

Does nothing
http://i.imgur.com/uz9VRQv.png
Title: Re: How to debug MDG technologies not updating
Post by: skiwi on December 23, 2013, 08:24:03 am
Tip use tag
Code: [Select]
[img]http://i.imgur.com/vKuaQKH.png[/img]

(http://i.imgur.com/vKuaQKH.png)
Title: Re: How to debug MDG technologies not updating
Post by: qwerty on December 24, 2013, 01:36:56 am
I'm not sure, but synch only adds missing tags. The enum is inside the tags (you can explore that by inspecting exiting tags). Create a new element end you will see a different list. You can only synch that by removing the old tags and adding them with synch or to run a script that changes the contents of the existing drop down list.

q.
Title: Re: How to debug MDG technologies not updating
Post by: jdoran-anglo on January 10, 2014, 08:41:07 am
Thanks for the suggestions.

It turns out multiple factors were at play. There was a filepath issue and  space in name issue.

MDG technologies sure are finicky.

Only a few tags became defunct after syncing.  ;)
Title: Re: How to debug MDG technologies not updating
Post by: qwerty on January 10, 2014, 09:02:01 am
Really a pity that Sparx lets MDG developers stand in the rain. It could be so easy to produce meaningful messages to help us find bugs in our MDGs :(

q.
Title: Re: How to debug MDG technologies not updating
Post by: jdoran-anglo on January 10, 2014, 11:21:33 am
I did not use much of the MDG technologies a year or so ago, but I recall my first look at them (back then) leaving me with a distinct impression of "too hard". They seem to be a lot easier to make now... but still very troublesome.

I think we will eventually get there.