Book a Demo

Author Topic: QuickLink Customization fails  (Read 4603 times)

E.Eckstein

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
QuickLink Customization fails
« on: August 10, 2015, 10:24:34 pm »
Hi guys,

once again it's me....  ::)

I got issues with creating the QuickLink customization for some profiles I created.

The funny part is: It works for 5 out of 6 diagram types / profiles. But for one single one there is no operation at all, and it doesn't make any scence to me....

So my question is: Are there any kind of "blocked" words, EA gets confused with, if they are taken as stereotype or metatype?

I think the best is, if I show you the Quicklink parts of the MDG-tech which is generated, once for the working one and once for the not working one.

To mention it before: All my types seem to be right, no mistakes in spelling or something (UML-Types e.g. are working fine).

Working Quicklink:

Code: [Select]
<QuickLink data="Activity,Plausibilitätsschritt,Activity,Plausibilitätsschritt,,,,ControlFlow,Sequenzfluss,,Sequenzfluss,,TRUE,,,TRUE,,,,,&#xA;Activity,Plausibilitätsschritt,Activity,CompositeLink,,,,ControlFlow,IO-Verbindung,,IO-Verbindung,,TRUE,,,TRUE,,,,,&#xA;Activity,CompositeLink,Activity,Plausibilitätsschritt,,,,ControlFlow,IO-Verbindung,,IO-Verbindung,,TRUE,,,TRUE,,,,,&#xA;Activity,Plausibilitätsschritt,Event,Start,,,,ControlFlow,Sequenzfluss,,Sequenzfluss,,TRUE,,,TRUE,,,,,&#xA;Event,Start,Activity,Plausibilitätsschritt,,,,ControlFlow,Sequenzfluss,,Sequenzfluss,,TRUE,,,TRUE,,,,,&#xA;Activity,Plausibilitätsschritt,Event,Ende,,,,ControlFlow,Sequenzfluss,,Sequenzfluss,,TRUE,,,TRUE,,,,,&#xA;Event,Ende,Activity,Plausibilitätsschritt,,,,ControlFlow,Sequenzfluss,,Sequenzfluss,,TRUE,,,TRUE,,,,,&#xA;Activity,Plausibilitätsschritt,Decision,Gateway,,,,ControlFlow,Sequenzfluss,,Sequenzfluss,,TRUE,,,TRUE,,,,,&#xA;Decision,Gateway,Activity,Plausibilitätsschritt,,,,ControlFlow,Sequenzfluss,,Sequenzfluss,,TRUE,,,TRUE,,,,,&#xA;&#xA;&#xA;&#xA;"/>
Not working Quicklink:

Code: [Select]
<QuickLink data="Activity,Aufgabenschritt,Activity,Aufgabenschritt,,,,ControlFlow,Sequenzfluss,,Sequenzfluss,,TRUE,,,TRUE,,,,,&#xA;Activity,Aufgabenschritt,Activity,CompositeLink,,,,ControlFlow,IO-Verbindung,,IO-Verbindung,,TRUE,,,TRUE,,,,,&#xA;Activity,CompositeLink,Activity,Aufgabenschritt,,,,ControlFlow,IO-Verbindung,,IO-Verbindung,,TRUE,,,TRUE,,,,,&#xA;Activity,Aufgabenschritt,Event,Start,,,,ControlFlow,Sequenzfluss,,Sequenzfluss,,TRUE,,,TRUE,,,,,&#xA;Event,Start,Activity,Aufgabenschritt,,,,ControlFlow,Sequenzfluss,,Sequenzfluss,,TRUE,,,TRUE,,,,,&#xA;Activity,Aufgabenschritt,Event,Ende,,,,ControlFlow,Sequenzfluss,,Sequenzfluss,,TRUE,,,TRUE,,,,,&#xA;Event,Ende,Activity,Aufgabenschritt,,,,ControlFlow,Sequenzfluss,,Sequenzfluss,,TRUE,,,TRUE,,,,,&#xA;Activity,Aufgabenschritt,Decision,Gateway,,,,ControlFlow,Sequenzfluss,,Sequenzfluss,,TRUE,,,TRUE,,,,,&#xA;Decision,Gateway,Activity,Aufgabenschritt,,,,ControlFlow,Sequenzfluss,,Sequenzfluss,,TRUE,,,TRUE,,,,,&#xA;&#xA;&#xA;&#xA;&#xA;"/>
As you might see  ;D (if you copy this mess into excel or something)
These ones are exactly the same (let's ignore the newlines, I tryed it also with less at the end...

So the first one is for a profile, the second one aswell.
I got some own stereotypes which mostly derive from BPMN/stdUml types.

Maybe some of you got a good guess,
I appreciate your help,
Regards,
Eric

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: QuickLink Customization fails
« Reply #1 on: August 11, 2015, 02:28:38 am »
There's a difference in the last column
Code: [Select]
"&#xA;&#xA;&#xA;&#xA;""/> "
"&#xA;&#xA;&#xA;&#xA;&#xA;""/> "
Not sure why that should make it invalid, but it's EA.

I'm astonished those dreaded umlauts work . You must be working for Siemens :D

q.
« Last Edit: August 11, 2015, 02:31:03 am by qwerty »

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: QuickLink Customization fails
« Reply #2 on: August 11, 2015, 09:22:03 am »
I can't see anything wrong with that (though I'm surprised it works without a link direction in column J). I assume the Aufgabenschritt stereotype exists in the profile and is spelt correctly? Would you be able to send your profile/technology to Sparx Support and we will be able to run it in debug and see what's happening?
The Sparx Team
[email protected]

E.Eckstein

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Re: QuickLink Customization fails
« Reply #3 on: August 11, 2015, 03:59:33 pm »
@qwerty,

&#xA; seems to be the newline in EA's export. (This is what I mentioned with different amount of "newlines".

@PK,

as I am working as a consultant in a foreign company I am quite unsure if I am allowed to do so. I will contact the project managers and try to explain the need for sending the technology, maybe it's okay for them.

And to answer your question: Yes, the stereotype exists and is generalization of BPPMN2.0::Activity. The spelling is correct aswell, so is the attribute "_metatype :string = Aufgabenschritt".

I never tought about setting a direction yet, but I'll try to do so, maybe this makes it work, though the other diagram profiles - as you suggested - are working fine without.

E.Eckstein

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Re: QuickLink Customization fails
« Reply #4 on: August 11, 2015, 04:36:46 pm »
To add some more futher informations:

I tryed to copy paste my profiles from the working ones and rename the stereotypes afterwards - doesnt work, too.

I also tryed to rename my stereotypes in the profil which quicklink is not working. Doesn't have any effect.

It seems like there is no problem with the spelling - in renamed stereotypes my uml-types were recognized and worked with shape scripting.

When I use quicklink I just see the usual contextmenu - all connections available for all different stereotypes of my profil I place into the diagram.

Now the funny thing: Except of the stereotype "Aufgabenschritt" all the other elements are used in other profiles aswell.
If I use the equivalent stereotype from another profile (Geschäftsprozessschritt e.g.) and place it into the diagram my quicklink is not working (as a link or as a new element), quicklink works for it! Even with the original profile items like the CompositeLink or the Gateway and so on. (these ones are in the Geschäftsprozessschritt profile defined aswell)

It seems like this one stereotype is not recognized but all the other ones are...

I'm realy clueless...

Regards,
Eric
« Last Edit: August 11, 2015, 04:39:31 pm by ericeckstein »

E.Eckstein

  • EA User
  • **
  • Posts: 35
  • Karma: +0/-0
    • View Profile
Re: QuickLink Customization fails
« Reply #5 on: September 02, 2015, 10:04:17 pm »
Well I guess anyone got an idea.

Sparx official support isn't answering, too.

Great  :-X