Author Topic: How to debug MDG technologies not updating  (Read 3339 times)

jdoran-anglo

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
How to debug MDG technologies not updating
« 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

skiwi

  • EA Expert
  • ****
  • Posts: 2080
  • Karma: +46/-82
    • View Profile
Re: How to debug MDG technologies not updating
« Reply #1 on: December 23, 2013, 08:24:03 am »
Tip use tag
Code: [Select]
[img]http://i.imgur.com/vKuaQKH.png[/img]

« Last Edit: December 24, 2013, 07:39:25 am by skiwi »
Orthogonality rules
Using EA16.1 (1627) on Windows 11 Enterprise/64 bit. Repositories in SQLServer2019 DB Schema 1558.
WebEA on Pro Cloud Server 4.2.64

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: How to debug MDG technologies not updating
« Reply #2 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.

jdoran-anglo

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: How to debug MDG technologies not updating
« Reply #3 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.  ;)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: How to debug MDG technologies not updating
« Reply #4 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.

jdoran-anglo

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: How to debug MDG technologies not updating
« Reply #5 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.