Re: Antw: Re: Ticket-Benachrichtigung - Variablen

Susan Dittmar <[email protected]>
Newsgroups gmane.comp.otsr.user.german
Message-ID <[email protected]>
Hallo Sepp!

Am 22.08.2017 um 09:20 schrieb Josef Penzkofer:
> Also die Variable <OTRS_CUSTOMER_REALNAME> funktioniert bei mir so, dass
> manchmal der Realname des Kunden in der Benachrichtigung steht, manchmal aber
> der Realname des System-Accounts.

Dann ist das vermutlich die gleiche Stelle, mit der ich rang. Meiner
Meinung nach ein Bug, der allerdings historisch bedingt ist und den
Changelogs nach bewusst eingeführt wurde.

Ich habe das für mich wie folgt behoben:

In Kernel::System::Ticket (also $OTRSHOME/Kernel/System/Ticket.pm steht
in Zeile 4554ff:

        # trigger notification event
        $Self->EventHandler(
            Event => 'NotificationOwnerUpdate',
            Data  => {
                TicketID              => $Param{TicketID},
                SkipRecipients        => \@SkipRecipients,
                CustomerMessageParams => {
                    %Param,
                    Body => $Param{Comment} || '',
                },
            },
            UserID => $Param{UserID},
        );

Die explizite Änderung der Parameter für NotificationOwnerUpdate habe
ich auskommentiert:

        # trigger notification event
        $Self->EventHandler(
            Event => 'NotificationOwnerUpdate',
            Data  => {
                TicketID              => $Param{TicketID},
                SkipRecipients        => \@SkipRecipients,
                CustomerMessageParams => {
                    %Param,
# removed by SD #   Body => $Param{Comment} || '',
                },
            },
            UserID => $Param{UserID},
        );

Seither erhalten meine Kollegen auch bei Owner Update die erwartete
Nachricht.

Diese Änderung ist nicht persistent gegen Updates. Da sie so klein ist,
habe ich mir nicht die Mühe gemacht herauszufinden, wie ich sie gegen
Updates schütze.

Gruß,
Susan

---------------------------------------------------------------------
OTRS mailing list: otrs-de - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs-de
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.