Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Mauricio Moya (Arquesoft) on May 22, 2024, 07:20:04 am

Title: Creating connectors on locked elements (new bug or feature?)
Post by: Mauricio Moya (Arquesoft) on May 22, 2024, 07:20:04 am
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?
Title: Re: Creating connectors on locked elements (new bug or feature?)
Post by: Eve 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.
Title: Re: Creating connectors on locked elements (new bug or feature?)
Post by: Guillaume 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?
Title: Re: Creating connectors on locked elements (new bug or feature?)
Post by: Eve on March 04, 2026, 08:36:52 am
Yes
Title: Re: Creating connectors on locked elements (new bug or feature?)
Post by: Guillaume 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.