[solved] Links in AgentTicketZoom funktionieren nicht

Hilfe zu OTRS Problemen aller Art
Post Reply
christopher
Znuny newbie
Posts: 57
Joined: 20 Nov 2015, 16:47
Znuny Version: 5.0.14

[solved] Links in AgentTicketZoom funktionieren nicht

Post by christopher »

Ich habe ein Problem nach dem Upgrade von 5.0.14 auf 5.0.26.
Im AgentTicketZoom lassen sich Links (Übersicht in der Navigation, als gelesen markieren...) nicht direkt öffnen, rufe ich Sie in einem neuen Tab, oder über einen rechtsklick -> öffnen auf, gibt es keine Probleme.

Die gleichen Links wiederum, sind in der Übersicht, oder dem Adminbereich in Ordnung, es betrifft auf den ersten Blick nur den AgentTicketZoom.

Ich habe im englischen Bereich eine ähnliche Beschreibung gefunden, jedoch bisher auch ohne Lösung.
viewtopic.php?f=53&t=35264

Hat hier jemand eine Idee?
Last edited by christopher on 05 Mar 2018, 10:31, edited 1 time in total.
christopher
Znuny newbie
Posts: 57
Joined: 20 Nov 2015, 16:47
Znuny Version: 5.0.14

Re: Links in AgentTicketZoom funktionieren nicht

Post by christopher »

Ich habe mir das einmal im Browser im Debug angesehen. Beim "Click" entsteht keine Aktion und kein Fehler, jedoch beim Aufruf des Tickets (AgentTicketZoom)

Code: Select all

index.pl?Action=AgentTicketZoom;TicketID=21618:1113 Error while parsing the 'sandbox' attribute: 'ms-allow-popups' is an invalid sandbox flag.
CommonJS_17addb6….js:166 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
ajax @ CommonJS_17addb6….js:166
getSource @ CommonJS_17addb6….js:167
guessAnonymousFunction @ CommonJS_17addb6….js:169
guessAnonymousFunctions @ CommonJS_17addb6….js:168
printStackTrace @ CommonJS_17addb6….js:128
(anonymous) @ CommonJS_17addb6….js:1140
j @ CommonJS_17addb6….js:1
fireWith @ CommonJS_17addb6….js:1
ready @ CommonJS_17addb6….js:1
I @ CommonJS_17addb6….js:1
CommonJS_17addb6….js:1085 Uncaught TypeError: ErrorObject.GetType is not a function
    at Object.Core.Exception.TargetNS.HandleFinalError (CommonJS_17addb6….js:1085)
    at HTMLDocument.<anonymous> (CommonJS_17addb6….js:1140)
    at j (CommonJS_17addb6….js:1)
    at Object.fireWith [as resolveWith] (CommonJS_17addb6….js:1)
    at Function.ready (CommonJS_17addb6….js:1)
    at HTMLDocument.I (CommonJS_17addb6….js:1)
Core.Exception.TargetNS.HandleFinalError @ CommonJS_17addb6….js:1085
(anonymous) @ CommonJS_17addb6….js:1140
j @ CommonJS_17addb6….js:1
fireWith @ CommonJS_17addb6….js:1
ready @ CommonJS_17addb6….js:1
I @ CommonJS_17addb6….js:1
index.pl:1 Unrecognized Content-Security-Policy directive 'referrer'.
christopher
Znuny newbie
Posts: 57
Joined: 20 Nov 2015, 16:47
Znuny Version: 5.0.14

Re: Links in AgentTicketZoom funktionieren nicht

Post by christopher »

Sehr seltsam ist dabei auch, dass Verknüpfungen, welche ein Popup aufrufen funtionieren, nur die direkten nicht.
root
Administrator
Posts: 3954
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Links in AgentTicketZoom funktionieren nicht

Post by root »

Hallo,

sieh mal in die Browserconsole, ob da Javascript-Fehler zu sehen sind.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
christopher
Znuny newbie
Posts: 57
Joined: 20 Nov 2015, 16:47
Znuny Version: 5.0.14

Re: Links in AgentTicketZoom funktionieren nicht

Post by christopher »

Bei der Übersicht erhalte ich die folgende Meldung, aber ich denke dies ist weiter kein Problem.
Das Modul "CustomerMap" war nur mal für einen Test installiert, da scheint noch irgendwas hängen geblieben zu sein.

File not found: /otrs-web/js/Core.Agent.CustomerMap.js

Da wo das Problem auftritt, beim AgentTicketZoom erhalte ich diese Meldung:

TypeError: ErrorObject.GetType is not a function &nbsp;/otrs-web/js/Core.Exception.js:124

Ich habe in der Zwischenzeit auch noch einmal ein Downgrade auf die ursprüngliche Version 5.0.14 durchgeführt, das Problem besteht auch dort.
Auf 5.0.26 habe ich dann Schritt für Schritt aktualisiert, also jeden Zwischenpatch installiert, auch wenn dies nicht nötig sein sollte.
Auch dies löst es jedoch nicht.

Ich vermute fast, dass hier eher ein CentOS Update und nicht das OTRS Update das Problem verursacht.
christopher
Znuny newbie
Posts: 57
Joined: 20 Nov 2015, 16:47
Znuny Version: 5.0.14

Re: Links in AgentTicketZoom funktionieren nicht

Post by christopher »

Ich kann zwar nicht nachvollziehen wieso es auftrat, aber das Problem ist nun gelöst.

Core.Agent.TableFilters war "undefined" und hat den Fehler ausgelöst.

Wir haben dann wie in diesem Thread beschrieben die drei Eintrage ergänzt, jedoch bei TicketAgentZoom.

viewtopic.php?f=62&t=22940&p=116700&hil ... js#p116700
Post Reply