Book a Demo

Author Topic: How to "unlock" a connector  (Read 7722 times)

dr_shorthair

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
How to "unlock" a connector
« on: October 15, 2007, 08:06:47 pm »
I have a model in which I need to modify the properties of a connector (specifically: add a tagged value to one end).
The required buttons in the Tags pane are not active.
Investigating further, I cannot even delete the connector - the error message says it is "locked against modification".
So this seems to the be the underlying problem.

So now I'm trying to find out how to "unlock" a connector.
I can't find this in the interface or documentation.
Any advice?


Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: How to "unlock" a connector
« Reply #1 on: October 15, 2007, 08:49:42 pm »
Connectors are locked if one or both ends are locked.  (This could be version control, full locking, user locking or group locking.)

Unlock the ends and you'll be able to modify the connector.

dr_shorthair

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: How to "unlock" a connector
« Reply #2 on: October 15, 2007, 08:57:14 pm »
Yes - but where in the UI is the required dialogue?
Connector properties doesn't seem to have an option.
Where else?

bmioch

  • EA User
  • **
  • Posts: 81
  • Karma: +0/-0
    • View Profile
Re: How to "unlock" a connector
« Reply #3 on: October 15, 2007, 09:00:50 pm »
By ends, Simon means the element at either end of the connector. Try right clicking on the elements and looking at Lock Element.

If you're not using version control, then it's likely one of the element at either end is locked. If you unlock the element(s), you can change the connector.

dr_shorthair

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: How to "unlock" a connector
« Reply #4 on: October 15, 2007, 09:06:02 pm »
Yes, the class that is the target of the association is locked - it is in an external package (not checked-out).

But a navigable association-end is "owned" by the originating class, so it should be possible to set properties on an inbound association.
Just like it is OK to create an inbound association ...

Is this something that changed in EA recently?
We point to a *lot* of classes that are in locked packages, and have had no trouble creating/deleting/modifying the associations until now...

dr_shorthair

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: How to "unlock" a connector
« Reply #5 on: October 15, 2007, 11:21:43 pm »
More information:
notwithstanding the fact that the target class is "locked" (it is in a Controlled Package which is not checked out) I can make a new association that points to it, and I can also add tags to the target end.

Its just that an existing association is "locked", so can't be modified, and I can't figure out how (in the EA interface) to unlock it.

thomaskilian

  • Guest
Re: How to "unlock" a connector
« Reply #6 on: October 16, 2007, 03:20:09 am »
You should report that as a bug using Sparx' bug report page. Also keep posting results here when you have an answer from Sparx.

dr_shorthair

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Resolved - Re: How to "unlock" a connector
« Reply #7 on: October 16, 2007, 07:19:36 pm »
Issue resolved with some assistance from Sparx.

The "source" of the connector was a locked class (as shown in the connector properties).
This was clearly an error, which must have snuck in before we more clearly separated the governance of the packages.
It was also confused by the fact that the navigability of the association was target->source, which gave a misleading hint on the diagram.  
« Last Edit: October 16, 2007, 07:26:03 pm by dr_shorthair »

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: How to "unlock" a connector
« Reply #8 on: October 30, 2007, 03:17:33 pm »
I have added a couple of notes and some index entries that should make this subject easier to find.  These will wash through into the Release 7.1 Help.

Roy
Best Regards, Roy