Book a Demo

Author Topic: Adding a hyperlink to an Activity diagram creates a new Activity  (Read 3803 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Adding a hyperlink to an Activity diagram creates a new Activity
« on: February 13, 2020, 07:31:35 pm »
I have two activity diagrams (diagram1 and diagram2)
When I drag diagram1 onto diagram2 and select Hyperlink, EA creates a new Activity, with the name diagram1 on my diagram2.

This does not happen when either diagram1, or diagram2 is not an Activity Diagram.

I don't know what the original purpose of this feature was, but it is obviously broken.

Workaround: drag diagram1 onto another type of diagram (say class diagram) as Hyperlink. Then copy the hyperlink and paste it onto diagram2

Reported

Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Adding a hyperlink to an Activity diagram creates a new Activity
« Reply #1 on: February 13, 2020, 09:34:22 pm »
I think it's a hang-over from early UML where the diagram IS the activity.  (like "a named association end IS an attribute")

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
Re: Adding a hyperlink to an Activity diagram creates a new Activity
« Reply #2 on: February 13, 2020, 09:48:38 pm »
In V14 or V15  (I do not remember) Sparx programmed some magic but senseless assumptions when you drag and drop something related to activities.
Most of those silly features disappear in V15.1 but some might buzz around.
Best regards,

Peter Heintz

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Adding a hyperlink to an Activity diagram creates a new Activity
« Reply #3 on: February 14, 2020, 08:52:21 am »
There is an option to switch that off: Preferences | Behavior | Use Automatic SubActivities
The Sparx Team
[email protected]

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Adding a hyperlink to an Activity diagram creates a new Activity
« Reply #4 on: February 14, 2020, 03:27:53 pm »
There is an option to switch that off: Preferences | Behavior | Use Automatic SubActivities

Thanks, that seems to do the trick.
I still believe this feature is fundamentally broken and would better be removed altogether.

For the very least the default for this setting should be off.

Geert