Book a Demo

Author Topic: MDG Elements vs. Version control  (Read 2322 times)

floerio

  • EA User
  • **
  • Posts: 44
  • Karma: +0/-0
    • View Profile
MDG Elements vs. Version control
« on: January 13, 2010, 06:58:11 pm »
Hi there!

We are using MDG technology to define, besides other things, elements for attributes and methods of classes. They are placed in the toolbox and then dopped by the user to add them to a class.

So far so good. Everything works as expected.

Now the problem: Our model is under version control. If now the user drops e.g. an attribute element on a class that is not locked by him EA does NOT raise any error but allows this addition. Only when he then tries to modify the atttribute afterwards with the "normal" property dialog he gets an error. But then the attribute is already added...

If he tries to add an attribute via the prop-dialog of the class, using the "attribute" dialog EA behaves correct by displaying an error "object locked" message.

Does anybody knows of this behavior?

Cheers.
   Oliver

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13471
  • Karma: +571/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: MDG Elements vs. Version control
« Reply #1 on: January 13, 2010, 07:12:24 pm »
Oliver,

Although I don't use the MDG technologies I'm not surprised.
I've found several other occasions where EA didn't notice that an element should be read-only and allowed changes.
It seems to work a little bit better when using an integration with a VC rather then using the build-in locking mechanism alone.
Also when using the API you have to check the read-only status yourself for anything other then Elements.

Please report as a bug because these kind of things can get us into a lot of trouble (e.g. lost work).

Geert

floerio

  • EA User
  • **
  • Posts: 44
  • Karma: +0/-0
    • View Profile
Re: MDG Elements vs. Version control
« Reply #2 on: January 19, 2010, 09:00:39 pm »
Hi Geert,

thx for your answer. I will try to find the button to post it as a bug :-)

Cheers,
   Oliver