Response on internal (invisible to customer) E-Mails are visible by default

Moderator: crythias

Post Reply
tpsupport
OTRS newbie
Posts: 70
Joined: 02 Feb 2011, 14:45
OTRS Version?: 6.0.12

Response on internal (invisible to customer) E-Mails are visible by default

Post by tpsupport »

Hi there!

When replying to an email where the article is marked "invisible for customer"(internal) then I would expect that the checkbox "Visible to customer" is not set and I have to set it manually. This works for a note and I remember this also worked previously at least in OTRS 5.

In AgentTicketActionCommon.pm I found this:

Code: Select all

        # set customer visibility of this note to the same value as the article for whom this is the reply
        if ( $Self->{ReplyToArticle} && !defined $Param{IsVisibleForCustomer} ) {
            $Param{IsVisibleForCustomer} = $Self->{ReplyToArticleContent}->{IsVisibleForCustomer};
        }
        elsif ( !defined $Param{IsVisibleForCustomer} ) {
            $Param{IsVisibleForCustomer} = $Config->{IsVisibleForCustomerDefault};
        }
I can't seem to find something similar in AgentTicketCompose.pm.

What do I need to do to (re)enable this for replies?
OTRS 6 - Ubuntu 16.04 x64, Azure Database for MySQL server 5.7, Perl 5.22.1, Apache/2.4.18

Post Reply