Book a Demo

Author Topic: Creating connectors on locked elements (new bug or feature?)  (Read 17339 times)

Mauricio Moya (Arquesoft)

  • EA User
  • **
  • Posts: 344
  • Karma: +8/-4
  • EA Consulting and development in Spanish
    • View Profile
    • Arquehub Azure Module
In earlier versions of Enterprise Architect (I don't remember exactly which one, but it was over 2 years ago), when locks were used on elements and you wanted to create a connector between two elements, one of which was locked for the user and the other was not, it was only possible to do so in one direction (I don't remember), meaning the connector could be created depending on whether the source of the relationship was not locked for the user (or the destination, I don't remember).

In the current version (16.1), I notice that connectors can be created between locked elements, even if both are locked for the user (red lock). Is this the case? Can someone confirm this behavior? Or is this a new bug? Since when has it worked this way?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8107
  • Karma: +119/-20
    • View Profile
Re: Creating connectors on locked elements (new bug or feature?)
« Reply #1 on: May 22, 2024, 08:08:01 am »
Settings > Security > Administer > Apply Locks to Connectors

Prior to the introduction of that setting only version control locking applied.

If you're seeing a difference in 16.1 my guess would be it's a new model that doesn't have that setting applied.

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1402
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: Creating connectors on locked elements (new bug or feature?)
« Reply #2 on: March 04, 2026, 01:23:13 am »
With this option, I can't create a relation between locked elements, but if I need to create a relation between a locked element and an unlock element, it only works if the source is on the unlocked element. Is it because the connector is created on the source element?
Guillaume

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


Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8107
  • Karma: +119/-20
    • View Profile
Re: Creating connectors on locked elements (new bug or feature?)
« Reply #3 on: March 04, 2026, 08:36:52 am »
Yes

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1402
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: Creating connectors on locked elements (new bug or feature?)
« Reply #4 on: March 05, 2026, 08:37:36 pm »
Ok. A workaround is to disable the Lock Connectors option and create a model based addin to prevent creating relations only between locked elements.
Guillaume

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