Author Topic: Virtual Connectors do not execute Shape Scripts  (Read 345 times)

adepreter

  • EA User
  • **
  • Posts: 63
  • Karma: +2/-2
    • View Profile
Virtual Connectors do not execute Shape Scripts
« on: December 13, 2017, 03:28:10 am »
When we create a virtual connector, only the original item is displayed as requested by the shape script.

The ghost is ill-mannered as it simply ignores the shape script. I mean the ghost doesn't bother and it shows as a UML element.

Is there a trick for taming the ghost in the shape script or is it simply a bug?

If it is a bug (ghosts can also have bugs), will this be fixed for version 14?

Cheers,
Alain

qwerty

  • EA Guru
  • *****
  • Posts: 9018
  • Karma: +137/-126
  • I'm no guru at all
    • View Profile
Re: Virtual Connectors do not execute Shape Scripts
« Reply #1 on: December 13, 2017, 08:15:15 am »
You need to report it via the link below in the Support section. It's most likely a bug. If you believe that crossed fingers help: start soon. They announced V14 already.

q.

Simon M

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 6215
  • Karma: +49/-5
    • View Profile
Re: Virtual Connectors do not execute Shape Scripts
« Reply #2 on: December 13, 2017, 08:52:17 am »
If you're talking about Virtual Connector Ends...

It doesn't draw the shape script.
There's no way to make it draw the shape script.
No, it's not a bug.
Simon

support@sparxsystems.com

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 5899
  • Karma: +71/-80
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Virtual Connectors do not execute Shape Scripts
« Reply #3 on: December 13, 2017, 10:56:56 am »
Alain,

See my recent posts (last few months) on Virtual Connector Ends.  It will also alert you to other problem you may come across.  I've come up against the same kinds of problems and I've made an analysis of why they occur and proposed a possible solution.  Essentially, the implementation is "less than optimal".

The idea is fine, it just needs a different (and I would argue, more logical) implementation.

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

adepreter

  • EA User
  • **
  • Posts: 63
  • Karma: +2/-2
    • View Profile
Re: Virtual Connectors do not execute Shape Scripts
« Reply #4 on: December 13, 2017, 09:46:59 pm »
OK. Let's say it is an incomplete implementation and as a result, virtual connectors are useless when MDGs are used.

I wonder what is the percentage of users that do not use MDGs?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 7806
  • Karma: +170/-21
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Virtual Connectors do not execute Shape Scripts
« Reply #5 on: December 13, 2017, 09:59:41 pm »
OK. Let's say it is an incomplete implementation and as a result, virtual connectors are useless when MDGs are used.

I wonder what is the percentage of users that do not use MDGs?
Probably lower then the percentage of users that don't use virtualized connector ends.
I never use those (and I advice all my customers not to use it) because of the weird implementation. I'd rather stick with the old limitation of having maximum one representation of an element on a diagram.

My feeling is that, in most cases using virtualized connector ends hides a more fundamental misunderstanding of how something should be modeled. There are exceptions of course, but usually it's easier to simply forbid it's usage then to verify all of the usages to make sure they are valid.

Geert