Book a Demo

Author Topic: Deleting link in copied locked diagram  (Read 3969 times)

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Deleting link in copied locked diagram
« on: December 02, 2004, 03:53:11 am »
If I make a copy of a [Activity] diagram (select all, context menu, copy all to clipboard), lock the diagram (and even package), and then paste the copy (as link) into a new unlocked diagram, would you expect to now be able to modify the original locked diagram ?

If you delete a link in the new copy, that link also disappears in the locked original, although you could not make the deletion in the original, due to it being locked !

I reported this to Sparx, but they didn't consider it a bug.

Anyone care to comment ? (and enlighten me!)

I wanted to try out some different layouts of a diagram using a copy, and found that I'd messed up the original !

thomaskilian

  • Guest
Re: Deleting link in copied locked diagram
« Reply #1 on: December 02, 2004, 04:17:53 am »
Mike,
a link is nothing related to a diagram but to elements. A locked diagram only prevents you from disarranging elements placed thereon.  If you delete the element in the browser it will certainly vanish from the diagram. Same applies to links.

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: Deleting link in copied locked diagram
« Reply #2 on: December 02, 2004, 05:10:31 am »
Yes, I agree you can delete elements using the browser even if the containing package is locked - but since links don't appear in the browser, it was a surprise !

It also defeats the 'locked against changes' concept, since you can modify a locked diagram with locked elements just by editing a copy, at least for links.

The locks lock the elements (e.g. activities) against modification or deletion in the diagram copy, but not any interconnections, which seems ... odd.

It 'feels' like having a non-const pointer to a const object, and so changing the const object !

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: Deleting link in copied locked diagram
« Reply #3 on: December 06, 2004, 04:59:08 am »
They now (after a few exchanges) accept it's a bug. Phew - thought I was going loopy !