Correct signature for agent/group in mail template
Actual behavior:
I have always specified the group directly in newly created mail templates.
A signature is defined in the group.
This worked great until version 4, each agent had the correct group and signature when using a mail template.
Now, however, after the upgrade to 5.x, the signatures are loaded twice, on the one hand with the name that created the template, and on the other hand with the name of the agent.
Steps to reproduce the behavior:
Create new template with predefined signature
Signature has #{user.firstname} #{user.lastname} in use
I have now created the template especially for the test and it also triggers the error.
The placeholders are so also entered in Zammad.
I am irritated here that directly the name of the template creator is entered “Max Mustermann”, shouldn’t there be the variable which automatically replaces the name?
[#<Template:0x000055ebb1ad7d28
id: 47,
name: "test",
options:
{"body"=>
"Hallo,<br><br>vielen Dank für Ihre Anfrage. Wir haben diese im System hinterlegt, die Ticketnummer ist im Betreff enthalten.<div><br></div><div>Bitte beziehen Sie sich bei Rückfragen zu diesem Vorgang immer auf diese Ticketnummer und antworten direkt auf diese E-Mail.<div></div></div><div><br></div><div>Wir werden Ihr Anliegen schnellstmöglichst bearbeiten.</div><div><br></div><br><br><div data-signature=\"true\" data-signature-id=\"1\"><div>TEST</div><div><br></div><div>---</div><div>Wir sind 365 Tage im Jahr persönlich für Sie da! Wir helfen Ihnen sehr gerne per E-Mail, Live-Chat oder Telefon. Mo. - Fr. 9-20 Uhr & Sa., So. & Feiertags 11-18 Uhr. Außerhalb dieser Zeiten schreiben Sie uns bitte eine E-Mail. Wir melden uns schnellstmöglich bei Ihnen zurück.</div><div><br></div><div>#Hilfe - Der Guide - Tipps für die Krise! Jetzt kostenlos downloaden! Mehr Infos unter: <a href=\"https://www.xxx.de/xxx\" title=\"https://www.xxx.de/xxx\" rel=\"nofollow noreferrer noopener\" target=\"_blank\">https://www.xxx.de/xxx</a>\n" +
"</div><div><br></div><div>Mit freundlichen Grüßen</div><div><br></div><div>Max Mustermann</div><div>Ihre Kundenbetreuung</div><div><br></div><div>P.S.: Ihre Zufriedenheit hat bei uns oberste Priorität. Sollten Sie mit unseren Leistungen oder unserem Kundenservice einmal nicht zufrieden sein, dann teilen Sie uns dies bitte mit, indem Sie uns eine E-Mail an xxx@xxx.de senden. Wir sind gerne für Sie da!</div><div><br></div><div>--</div><div>- XXX GmbH, XXX 00, 00000 Musterstadt</div><div>- Tel 000000</div><div>- Fax 000000</div><div>- Internet <a href=\"https://www.xxx.de/\" title=\"https://www.xxx.de/\" rel=\"nofollow noreferrer noopener\" target=\"_blank\">https://www.xxx.de/</a>\n" +
"</div><div>- E-Mail xxx@xxx.de</div><div>- HRB xxx</div><div>- USt.-Id-Nr. xxx</div><div>- Steuernummer xxx</div><div>- Geschäftsführer Max Mustermann</div></div>",
"formSenderType"=>"email-out",
"form_id"=>"769922818",
"title"=>"Anfrage:",
"customer_id"=>"",
"customer_id_completion"=>"",
"cc"=>"",
"group_id"=>"5",
"owner_id"=>"",
"state_id"=>"4",
"priority_id"=>"2",
"ticket_label"=>"unsorted",
"tags"=>""},
updated_by_id: 29,
created_by_id: 29,
created_at: Thu, 21 Oct 2021 00:44:11 CEST +02:00,
updated_at: Thu, 21 Oct 2021 00:44:11 CEST +02:00>]
Mit freundlichen GrĂĽĂźen
#{user.firstname} #{user.lastname}
Ihre Kundenbetreuung
Yes, that is replaced (in the duplicate signature as described above). But instead I have a double signature where the name of the template creator appears.