
Hey guys, is there any reason or trick to prevent an Pre or Post Outputfilter is started 3 times in AgentTicketZoom? I created a small Outputfilter for the AgentTicketZoom and it gets started 3 times, always with the same template. The other templates are fine. Any ideas on that? OTRS Version is 4.0.5. Thanks in advance. Johannes Links to an example: https://gist.github.com/hanneshal/0660396b5dbba4ede4bb (Filter) https://gist.github.com/hanneshal/b11df11bdf229b508444 (Config) Package to link it direct to a test system https://dl.dropboxusercontent.com/u/9154319/of.zip

Hi Johannes, unfortunately AgentTicketZoom is rendered several times to get different parts of the page (for example the article tree), IIRC. I am not sure if this can be prevented. You could try saving a flag in $TicketObject->{_My$Filter_AlreadyRan} or so that you use to identify the subsequent filter runs (it's a hack, I know). Or you embed something in the page that you check later on. Regards, mg Am 11.03.15 um 10:28 schrieb Johannes Nickel:
Hey guys,
is there any reason or trick to prevent an Pre or Post Outputfilter is started 3 times in AgentTicketZoom?
I created a small Outputfilter for the AgentTicketZoom and it gets started 3 times, always with the same template. The other templates are fine. Any ideas on that?
OTRS Version is 4.0.5.
Thanks in advance.
Johannes
Links to an example: https://gist.github.com/hanneshal/0660396b5dbba4ede4bb (Filter) https://gist.github.com/hanneshal/b11df11bdf229b508444 (Config)
Package to link it direct to a test system https://dl.dropboxusercontent.com/u/9154319/of.zip
_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
-- Martin Gruner Senior Developer R&D OTRS AG Bahnhofplatz 1a 94315 Straubing T: +49 (0)6172 681988 0 F: +49 (0)9421 56818 18 I: www.otrs.com/ Geschäftssitz: Bad Homburg, Amtsgericht: Bad Homburg, HRB 10751, USt-Nr.: DE256610065 Aufsichtsratsvorsitzender: Burchard Steinbild, Vorstand: André Mindermann (Vorsitzender), Christopher Kuhn, Sabine Riedel Schlanker, schneller und flacher denn je - OTRS 4! Und für alle, die MEHR wollen: Entdecken Sie hier die OTRS Business Solution™ mit mehr Business Features! https://www.otrs.com/otrs-business-solution-fuer-besseren-kundenservice/?lan...
participants (2)
-
Johannes Nickel
-
Martin Gruner