Book a Demo

Author Topic: MDG Searches not showing up in a shared EA project  (Read 9189 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
MDG Searches not showing up in a shared EA project
« on: November 17, 2015, 12:42:51 am »
Hi,

I have an MDG that embeds a UML profile, toolbox, diagram type, scripts, and custom searches.
When I import the MDG on a shared EA project (MySQL), I can open the MDG searches, however other users cannot.
The MDG is imported to the model so it's not specific to a user.

Having run a few tests, it appears that the MDG searches are only visible to the last user who imported the MDG. A colleague imported the MDG -> I could no longer see it whereas he could.

Hence, it looks like a bug to me.

I'm using EA 12 build 1512.

Guillaume
« Last Edit: November 17, 2015, 12:43:45 am by gfuk »
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: MDG Searches not showing up in a shared EA pro
« Reply #1 on: November 17, 2015, 10:48:53 am »
Hi Guillaume,

Just checking that the searches appear at the end of the MDG file and you aren't getting them any other way.

I've got searches in my MDG and as far as I know, they are available to all.  I'll check when I get in to work...

Paolo
[edit]Checked once I got into work and several colleagues close to me can see the MDG searches.[/edit]
« Last Edit: November 17, 2015, 12:15:10 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: MDG Searches not showing up in a shared EA pro
« Reply #2 on: November 17, 2015, 02:54:05 pm »
I would be happy if we can get to the bottom of this, because I'm planning on distributing scripts, templates and searches via an MDG as well.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: MDG Searches not showing up in a shared EA pro
« Reply #3 on: November 17, 2015, 10:38:25 pm »
What do you mean by "import MDG"? Are you telling that each and every person is going the resource way and import the MDG there?

q.
« Last Edit: November 17, 2015, 10:38:38 pm by qwerty »

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: MDG Searches not showing up in a shared EA pro
« Reply #4 on: November 17, 2015, 10:56:37 pm »
By importing MDG, I mean that a single user opens the Resources view > MDG Technologies > Import Technology > selects the XML file and the option "Import to Model"

This is required when I publish a new version of the MDG - it's got to be done only once.
What we saw is that the user who runs this import has access to the Searched embedded in the MDG. Everything else works fine & is visible to all. I don't know why searches lead to such issue.

To test searches, press Ctrl+F > move the drop down to the MDG name (visible only to the user who ran it).

Our EA project runs on MySQL.
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: MDG Searches not showing up in a shared EA pro
« Reply #5 on: November 18, 2015, 12:53:28 am »
If you allow everybody to do that you actually chop the limb you're sitting on. This is a substantial change to the model. Once it's done, every user needs to restart EA. Restrict that use to a single person. Or use the Advanced/Add Path from the MDG Technologies dialog.

q.

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: MDG Searches not showing up in a shared EA pro
« Reply #6 on: November 18, 2015, 07:43:35 am »
My preferred method is to set everyone's clients with an MDG path to a network share.

The benefit is that if someone finds a bug I can update the MDG and test it against the model without impacting everyone.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: MDG Searches not showing up in a shared EA pro
« Reply #7 on: November 18, 2015, 09:31:18 am »
Guillaume, you will get better results if you import your technology using the Project > MDG Technology Import command. It meets your requirements in that it imports the technology into the model, only has to be done once, and is available to all users of the model without any further action. But it works differently internally in ways that I'm not going to go into, except to say don't use the Resources view to import technologies, use the MDG Technology Import command instead!
The Sparx Team
[email protected]

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: MDG Searches not showing up in a shared EA pro
« Reply #8 on: November 18, 2015, 10:28:29 am »
That's really neat. Leaving the Resource/Technology (not working) plus adding Project/MDG Import. Once again a good example of EAUI ::)

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: MDG Searches not showing up in a shared EA pro
« Reply #9 on: November 18, 2015, 03:40:32 pm »
That is good to know, thanks KP.

I assume this "glitch" will be fixed soon ;)

Geert

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: MDG Searches not showing up in a shared EA pro
« Reply #10 on: December 02, 2015, 06:16:27 pm »
I just received a report from a client that the suggested Project|MDG Technology Import doesn't work for searches either.
We did it that way, and the search was available for the user who imported it.
But after restarting EA, it was gone, and it was never visible for any of the other users.
Has someone already tested this in v12.1?

Geert

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: MDG Searches not showing up in a shared EA pro
« Reply #11 on: December 02, 2015, 08:08:23 pm »
I just tested this in v 12.1 (12.1.1224) and I can confirm that the problem has been fixed.

Geert