Author Topic: default line style changed  (Read 7472 times)

Michael Mangelschots

  • EA Novice
  • *
  • Posts: 18
  • Karma: +1/-0
    • View Profile
default line style changed
« on: February 22, 2017, 08:27:26 pm »
Hello,

Since recently the default line style in BPMN 2.0 diagrams seem to have changed from "Orthogonal - Rounded" to "Direct".
We use a central repository (oracle dbms) and this problem only occurs in this repository. If I create a local file then I do not have this problem. If I use our test-environment-repository (backup from a few months ago) then I also do not have this problem.

We have a "Project Template Package", but it's practically empty and I also set the package to "<none>" and the problem still occurs.
The only addins that are active (on my computer anyway) are "ActivityAddin", "Visual Studio" and "Eclipse", I disabled all 3 and the problem still occurs.

We use EA 13.0.1307, it seems unrelated to this version as this issue didn't occur immediately after the release.

I found a topic with the same issue (http://sparxsystems.com/forums/smf/index.php?topic=26201.0) however the proposed solutions didn't work for us.
Before the problem occurred we wanted to change the line style from "Orthogonal - Rounded" to "Orthogonal - Square" (http://sparxsystems.com/forums/smf/index.php/topic,37750.0.html). However, the change to the XML file was only done on the computer of 1 user. All our users experience the issue now, so it seems unrelated.

We have quite a few users, so maybe someone changed something?

Any help would be appreciated.

Kind regards,

Michael

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: default line style changed
« Reply #1 on: February 22, 2017, 10:53:06 pm »
Michael,

You don't have my EA-Matic add-in installed by any chance?
There is a defaultLineStyles script that allows you to choose the default line style for each type of connector, so that could be an explanation for this type of behavior.
And since the scripts are stored in the repository that could also explain why you only have that issue in that repository.

Geert

Michael Mangelschots

  • EA Novice
  • *
  • Posts: 18
  • Karma: +1/-0
    • View Profile
Re: default line style changed
« Reply #2 on: February 23, 2017, 10:49:49 pm »
No, but maybe a colleague tried it...
Do you know in what table/record this data is stored? Then I could compare it with the backup database.

Michael

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: default line style changed
« Reply #3 on: February 24, 2017, 12:48:23 am »
Check Extensions/Manage Addins... and eventually uncheck Geert's add-in.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: default line style changed
« Reply #4 on: February 24, 2017, 02:03:51 am »
Check Tools - Scripts and see if there is a script that changes the default line styles.

But this script will only be executed on workstations that have the add-in installed, so if you don't have anything installed and you have the problem as well then it must be something else.

Geert

Michael Mangelschots

  • EA Novice
  • *
  • Posts: 18
  • Karma: +1/-0
    • View Profile
Re: default line style changed
« Reply #5 on: February 24, 2017, 08:57:49 pm »
Thanks for the reply, unfortunately I haven't found a solution yet.
I can't find any scripts that change line styles and I don't have Geert's add-in, nor have I found a collegue that has the add-in.


Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: default line style changed
« Reply #6 on: February 27, 2017, 10:55:03 am »
Hi Michael,

pick one of your problematic relationships.  From the MDG determine what is the default line style for that relationship type.  Has the line style on the diagram reverted to that line style from another style?

If so, then you may have lost the underlying t_diagramlinks entry for the line on that diagram.  When that entry is lost, EA will still draw the line but with the default line style - giving the impression that line style has changed (which, in a sense, it has).

Because we clone regularly, and we have found sporadic anomalies that trash some of our diagramobjects and diagramlinks, we're quite familiar with this problem and fix it by restoring the trashed entires.

This may be related to your problem.

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

Michael Mangelschots

  • EA Novice
  • *
  • Posts: 18
  • Karma: +1/-0
    • View Profile
Re: default line style changed
« Reply #7 on: February 27, 2017, 06:10:14 pm »
Thanks for the tip Paolo.

I found the issue, someone created a "BPMN2.0:SequenceFlow" entry in the UML Types -> Stereotypes. This entry was not in our backup from a while ago.
Removing it fixed the issue.

Thanks all for helping resolve this issue!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: default line style changed
« Reply #8 on: February 28, 2017, 10:50:49 am »
Happy to help, Michael.  :D

That "someone" was most probably EA itself!

We have a query that regularly checks the Standard Set of stereotypes for stereotypes from our MDG and purges them.  We haven't isolated why EA creates them, but it is EA (perhaps with some inadvertent help from our automation), NOT people, that is creating them.  As you saw, it creates havoc with your shapescripts.

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