Book a Demo

Author Topic: Diagram Hyperlinks Not Deleted When Target Diagram Linked-To is Deleted  (Read 3927 times)

wikitect

  • EA User
  • **
  • Posts: 117
  • Karma: +2/-0
    • View Profile
    • TRAK Community
When a diagram is deleted, any Diagram Hyperlinks (created when dragging a diagram onto the open diagram) that previously linked to the deleted diagram are not themselves deleted even though they no longer serve any purpose.

This results in an accumulation of non-functional (dead) hyperink elements if you don't spot the fact - and there's nothing provided to expose this litter.

The rationale provided is that a user might want to restore a diagram via an XMI import which seems to be a much lower level frequency use case than deleting a diagram that is the target of diagram hyperlinks.

As this is deliberate policy tools ought to be provided e.g. a search to reveal these so that the user can find and delete them.
======
Favourite epitaph: 'Under this sod lies another'

TRAK Framework https://sf.net/p/trak
MDG for TRAK https://sf.net/p/mdgfortrak

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Diagram Hyperlinks Not Deleted When Target Diagram Linked-To is Deleted
« Reply #1 on: August 11, 2023, 07:25:09 pm »
Or, as a usual user not from planet Sparx might think, a warning/hint should appear mentioning the dead links being left upon deletion.

q.

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Diagram Hyperlinks Not Deleted When Target Diagram Linked-To is Deleted
« Reply #2 on: August 17, 2023, 06:04:17 am »
This looks much like a bug to me.
Since EA creates the entity, EA should remove it once the reference count drops to zero.
I too have a pile of these things hanging around, and its a manual process to clean them up.
Orthogonality rules
Using EA16.1 (1627) on Windows 11 Enterprise/64 bit. Repositories in SQLServer2019 DB Schema 1558.
WebEA on Pro Cloud Server 4.2.64