[SOLVED]Process management after upgrade ERROR

Moderator: crythias

Locked
paladinstar
Znuny newbie
Posts: 12
Joined: 03 Oct 2014, 11:02
Znuny Version: 3.3.6
Real Name: Test

[SOLVED]Process management after upgrade ERROR

Post by paladinstar »

Hello everyone.

I had a problem as follows.
Updating from version 3.3.6 OTRS to 4.0.6. Pre say that I have several processes in the system with a lot of activities, transitions, etc.
After the upgrade, when entering any process issued by error (see attachment).
Doing all the instructions, everything else works fine.
How to fix it? May have an idea?

Thank you for your help!
You do not have the required permissions to view the files attached to this post.
Last edited by paladinstar on 10 Mar 2015, 09:57, edited 2 times in total.
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Process management after upgrade ERROR

Post by RStraub »

Looks like OTRS is having trouble finding the javascript that draws the canvas.

Can you check if you have the jsplumb files under:
~otrs/var/httpd/htdocs/js/thirdparty/jsplumb(-version)/jsplumb.js or dom.jsPlumb ?
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
paladinstar
Znuny newbie
Posts: 12
Joined: 03 Oct 2014, 11:02
Znuny Version: 3.3.6
Real Name: Test

Re: Process management after upgrade ERROR

Post by paladinstar »

There is a file in the specified directory jsplumb.js
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Process management after upgrade ERROR

Post by reneeb »

Is the version in the directory name the one specified in SysConfig? It might happen that you can find something like "jsplumb-3.3.1" in Kernel/Config/Files/ZZZAuto.pm while there is only a "jsplumb-4.0.5" in the filesystem... Then you have to use the correct version in the SysConfig...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Process management after upgrade ERROR

Post by RStraub »

And you didn't (1) customize stuff on the canvas? It might happen when you call jsplumb functions outside of the jsPlumb.read block.

Also you didn't (2) edit the SysConfig, so that the javascript is still loaded correctly? The ModuleRegistration under ProcessManagement -> Frontend:Admin:ModuleRegistration lists jsplumb-1.6.4/jsplumb.js and jsplumb-labelspacer/labelspacer.js as ressources (on version 4.0.6)

*huffs* reneeb beat me to it again.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
paladinstar
Znuny newbie
Posts: 12
Joined: 03 Oct 2014, 11:02
Znuny Version: 3.3.6
Real Name: Test

Re: Process management after upgrade ERROR

Post by paladinstar »

reneeb wrote:Is the version in the directory name the one specified in SysConfig? It might happen that you can find something like "jsplumb-3.3.1" in Kernel/Config/Files/ZZZAuto.pm while there is only a "jsplumb-4.0.5" in the filesystem... Then you have to use the correct version in the SysConfig...
In ZZZAuto.pm version jsplumb 1.5.5
RStraub wrote:~otrs/var/httpd/htdocs/js/thirdparty/jsplumb(-version)/jsplumb.js
version 1.6.4

In the SysConfig I can not find jsplumb...
paladinstar
Znuny newbie
Posts: 12
Joined: 03 Oct 2014, 11:02
Znuny Version: 3.3.6
Real Name: Test

Re: Process management after upgrade ERROR

Post by paladinstar »

I apologize for blindness))). jsplumb found. His version 1.5.5 in SysConfig.
paladinstar
Znuny newbie
Posts: 12
Joined: 03 Oct 2014, 11:02
Znuny Version: 3.3.6
Real Name: Test

Re: Process management after upgrade ERROR

Post by paladinstar »

Next error

Magnetizer is not defined
You do not have the required permissions to view the files attached to this post.
paladinstar
Znuny newbie
Posts: 12
Joined: 03 Oct 2014, 11:02
Znuny Version: 3.3.6
Real Name: Test

Re: Process management after upgrade ERROR

Post by paladinstar »

As I understand it is responsible for the Magnetizer

Code: Select all

thirdparty/jsplumb-labelspacer/label-spacer.js
Versions no. It is not clear what he wanted.
You do not have the required permissions to view the files attached to this post.
paladinstar
Znuny newbie
Posts: 12
Joined: 03 Oct 2014, 11:02
Znuny Version: 3.3.6
Real Name: Test

Re: Process management after upgrade ERROR

Post by paladinstar »

Clear settings as in the screenshot, seems to work. The only disadvantage with digital communication schemes are destroyed activity parameters, transitions, etc.

Thank you all!
You do not have the required permissions to view the files attached to this post.
Locked