OTRS 4 Upgrade - Fehler jQuery Flot API

Hilfe zu Znuny Problemen aller Art
Locked
Dalocker
Znuny newbie
Posts: 12
Joined: 27 Aug 2013, 13:55
Znuny Version: 4.0.5

OTRS 4 Upgrade - Fehler jQuery Flot API

Post by Dalocker »

Hallo zusammen,

seid dem Upgrade von 3.3.9 auf 4.0.5 tritt beim aufrufen eines Kunden im Customer Information Centers keine Fehlermeldung auf:
Namespace Core.UI.Chart could not be initialized, because jQuery Flot API could not be found.
Ich habe mich exakt an die Upgrade Anleitung gehalten und bereits die Skripte otrs.DeleteCache und otrs.LoaderCache (-o delete) ausgeführt.
Leider ohne Erfolg...
Produktiv: OTRS 4.0.5 - Debian Wheezy - MySQL 5.5
Test: OTRS 4.0.5 - Debian Wheezy - MySQL 5.5
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: OTRS 4 Upgrade - Fehler jQuery Flot API

Post by reneeb »

Schau mal in der Kernel/Config/Files/ZZZAuto.pm, ob dort ein alter Pfad von jsflot zu finden ist. Z.B. dass dort was mit jsflot-3.3.3 auftaucht, aber nur das Verzeichnis jsflot-4.0.0 unter var/httpd/htdocs/js/thirdparty existiert.
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
Dalocker
Znuny newbie
Posts: 12
Joined: 27 Aug 2013, 13:55
Znuny Version: 4.0.5

Re: OTRS 4 Upgrade - Fehler jQuery Flot API

Post by Dalocker »

Super, da war der Fehler. Es war noch
'thirdparty/flot-0.7/excanvas.js',
'thirdparty/flot-0.7/jquery.flot.js',
hinertelgt, der korrekte Pfad ist allerdings 'thirdparty/flot-0.8.3/'. Hast du eine Idee warum der Pfad bei mir nicht automatisch aktualisiert wurde ? Ich wüsste nicht was ich beim Upgrade falsch gemacht haben könnte.


Die ursprüngliche Fehlermeldung ist nun weg, allerdings erhalte ich jetzt eine andere:

Code: Select all

Cannot read property 'SetAllocationList' of undefined Object.Core.Agent.Dashboard.TargetNS.Init [...}
Produktiv: OTRS 4.0.5 - Debian Wheezy - MySQL 5.5
Test: OTRS 4.0.5 - Debian Wheezy - MySQL 5.5
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: OTRS 4 Upgrade - Fehler jQuery Flot API

Post by reneeb »

Wenn Du in der SysConfig mal einen Eintrag geändert hast der den Pfad zu js-flot enthält, wird der geänderte Eintrag in die ZZZAuto.pm geschrieben. Beim Update wird die ZZZAuto.pm aber nicht angefasst - was auch richtig ist.

Zu dem anderen Fehler müsste man jetzt noch wissen, woher der genau kommt...
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
Dalocker
Znuny newbie
Posts: 12
Joined: 27 Aug 2013, 13:55
Znuny Version: 4.0.5

Re: OTRS 4 Upgrade - Fehler jQuery Flot API

Post by Dalocker »

Der Fehler tritt genau an der selben Stelle im Customer Information Center auf. Direkt nach dem aufrufen eines Kunden.

Anbei mal die vollständige Fehlermeldung.
You do not have the required permissions to view the files attached to this post.
Produktiv: OTRS 4.0.5 - Debian Wheezy - MySQL 5.5
Test: OTRS 4.0.5 - Debian Wheezy - MySQL 5.5
Dalocker
Znuny newbie
Posts: 12
Joined: 27 Aug 2013, 13:55
Znuny Version: 4.0.5

Re: OTRS 4 Upgrade - Fehler jQuery Flot API

Post by Dalocker »

Hat jemand eine Idee ? Konnte das Problem bisher leider nicht lösen ...
Produktiv: OTRS 4.0.5 - Debian Wheezy - MySQL 5.5
Test: OTRS 4.0.5 - Debian Wheezy - MySQL 5.5
kingston
Znuny expert
Posts: 151
Joined: 07 Jul 2015, 16:02
Znuny Version: 4.0.5

Re: OTRS 4 Upgrade - Fehler jQuery Flot API

Post by kingston »

Hei,
bei mir taucht das Problem auch auf.
Wisst ihr vielleicht woran das liegen kann.
Locked