Book a Demo

Author Topic: Connector locking issue  (Read 5376 times)

Guy Botquin

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Connector locking issue
« on: November 14, 2012, 02:59:05 am »
Connector locking not working on EA 9.3.932. as expected.

Documentation says (see http://www.sparxsystems.com/enterprise_architect_user_guide/projects_and_teams/managelocks.html)
"If an element is locked, connectors attached to it are also locked".

Security is enabled. I draw 2 components and a connector between (association or whatever). I lock both elements. with another user I try to update or delete the elements => not possible (as expected).
update the connector (change the name) => possible (wrong)
delete the connector => possible (wrong).

Help appreciated ! Thanks. Guy.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Connector locking issue
« Reply #1 on: November 14, 2012, 03:10:24 am »
Attached means "from source". If the element is a target then the connector isn't locked.

q.

Guy Botquin

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Connector locking issue
« Reply #2 on: November 14, 2012, 03:24:36 am »
Hi, in my test, both elements are locked, and I manage anyway to update/delete the connector between them....

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Connector locking issue
« Reply #3 on: November 14, 2012, 06:26:37 am »
When you say "delete" do you mean ctrl-delete?

Regarding the renaming: this is EAUI. There is no internal lock for a connector. Instead only elements are locked and EA reacts (dis-)accordingly.

q.

Guy Botquin

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Connector locking issue
« Reply #4 on: November 14, 2012, 08:02:49 am »
When I say delete, it is
1/ hitting delete when connector is currently selected.
or 2/ selecting source or target element, show relationships and hit delete on the connector
Nevertheless, going in the "links" topic of the (locked) element properties dialog, prevents deletion of the connector.

So far I considered this as a bug, because EA doc (mentionned before) says that connector is locked when both elements are.
I cannot believe that connectors cannot be locked, this would mean that, if you use locking mechanism to restrict write autorisation to a group of user, you can only restrict it to diagrams, elements, but not to connectors. In other words any body can drag and drog those elements in a diagram and the then drop the connector attached to the elements, which permanently drops the connector from the model. I cannot believe this is standard behavior ....


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Connector locking issue
« Reply #5 on: November 14, 2012, 07:36:18 pm »
There's also a difference in behavior between only using EA's security, or using version control.

Version control is a bit more strict then EA's security.
I think I've reported it as a bug a long time ago, but I haven't followed up on it since.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Connector locking issue
« Reply #6 on: November 14, 2012, 08:49:55 pm »
Guy,
Looks like you're right. Same behavior here (9.3). You should send a bug report.

I thought this worked in a previous release?!

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Connector locking issue
« Reply #7 on: November 15, 2012, 08:44:46 am »
Security doesn't apply any locks to connectors. That behavior goes back a very long time and is due to user request.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Connector locking issue
« Reply #8 on: November 15, 2012, 07:23:01 pm »
Quote
Security doesn't apply any locks to connectors. That behavior goes back a very long time and is due to user request.
In that case you should correct the documentation.

However, it's typical EAUI that you can't create a connector when elements are locked (since EA raises an exception here), but delete them (since EA does not in this case).

q.