znuny / Znuny

Znuny/Znuny LTS is a fork of the ((OTRS)) Community Edition, one of the most flexible web-based ticketing systems used for Customer Service, Help Desk, IT Service Management.
https://www.znuny.org
GNU General Public License v3.0
368 stars 86 forks source link

Bug - "JavaScriptError: Core.Agent.TicketNoteToLinkedTicket is undefined" in Large ticket lists when "Transfer notice" link is rendered #430

Closed pboguslawski closed 1 year ago

pboguslawski commented 1 year ago

Environment

Expected behaviour

No JS error in L mode when ticket menu displays "Transfer notice".

Actual behaviour

Any ticket list in L mode throws JS errors like

[ERROR] JavaScriptError: Core.Agent.TicketNoteToLinkedTicket is undefined 
Uncaught TypeError: Core.Agent.TicketNoteToLinkedTicket is undefined

when linked tickets with Transfer notice is present in tickets menu.

How to reproduce

Steps to reproduce the behavior:

  1. In fresh 6.5.2 install create two tickets and put link between it.
  2. Open index.pl?Action=AgentTicketQueue in L mode - browser should throw JS error as above.

Additional information

Problem does not occur after adding Core.Agent.TicketNoteToLinkedTicket.js to JavaScript list in Loader::Module::AgentTicketQueue###002-Ticket.

Same problem in other L views (probably every sysconfig parameter where Core.Agent.Overview.js already exists).

rkaldung commented 1 year ago

This has been fixed with the release of Znuny LTS 6.5.3 / Znuny 7.0.6. See commit https://github.com/znuny/Znuny/commit/d790e487e258309c0f46945c21ff0bdfe077b6cb