AgentTicketEmailOutbound reset subject if To empty

Moderator: crythias

Post Reply
rodolfor
Znuny newbie
Posts: 89
Joined: 11 Jun 2020, 14:56
Znuny Version: 6.0.27
Real Name: Rodolfo Rughi
Company: none

AgentTicketEmailOutbound reset subject if To empty

Post by rodolfor »

Hi all.
I've seen that if I create an AgentTicketEmailOutbound, if I forget to enter the recipient email, when I press the Send button it reports the error and places me on the To field, but the email subject is reset to the default.
Is it possible in these cases to make the subject line not reset to its default?
Thank you

Rod
zzz
Znuny superhero
Posts: 889
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: AgentTicketEmailOutbound reset subject if To empty

Post by zzz »

Hello Rod,

I couldn't reproduce the issue.
What version are you on and did you use drafts?

— Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
rodolfor
Znuny newbie
Posts: 89
Joined: 11 Jun 2020, 14:56
Znuny Version: 6.0.27
Real Name: Rodolfo Rughi
Company: none

Re: AgentTicketEmailOutbound reset subject if To empty

Post by rodolfor »

Hello Emin, I use 6.0.29

To be more correct, I do not have this issue when I select Tickets > New Email ticket but when I open a Ticket and I go to Communication > E-mail outbound

Thanks
root
Administrator
Posts: 3968
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: AgentTicketEmailOutbound reset subject if To empty

Post by root »

rodolfor wrote: 21 Feb 2024, 08:53 Hello Emin, I use 6.0.29

To be more correct, I do not have this issue when I select Tickets > New Email ticket but when I open a Ticket and I go to Communication > E-mail outbound
Hi,

Do you know there is a difference between the function you mention and reply/reply to all?

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
rodolfor
Znuny newbie
Posts: 89
Joined: 11 Jun 2020, 14:56
Znuny Version: 6.0.27
Real Name: Rodolfo Rughi
Company: none

Re: AgentTicketEmailOutbound reset subject if To empty

Post by rodolfor »

Thanks Roy.
In my case, the ticket was created for me by another agent.
The procedure is that at this point I send a communication to an external customer.
Then I add a "Communication > E-mail outbound" to the ticket.
In this case, if I forget to insert the recipient email, I could have the issue.

Rod
zzz
Znuny superhero
Posts: 889
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: AgentTicketEmailOutbound reset subject if To empty

Post by zzz »

I was also unable to reproduce this behavior on an older version.

However, I believe this is connected to an older bug and should be resolved with an update (you're missing a lot of security updates anyway).

— Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
Johannes
Moderator
Posts: 393
Joined: 30 Jan 2008, 02:26
Znuny Version: All of them ^^
Real Name: Hannes
Company: Znuny|OTTERHUB

Re: AgentTicketEmailOutbound reset subject if To empty

Post by Johannes »

Do you know there is a difference between the function you mention and reply/reply to all?
I quote roy here. This is no bug but intended behaviour.
AgentTicketEmailOutbound is for "clean communication with externals".
So no default subject, except the ticket# is used.

If you want to answer, use a reply template and the subject will be kept.
zzz
Znuny superhero
Posts: 889
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: AgentTicketEmailOutbound reset subject if To empty

Post by zzz »

It's normal that the subject is empty on load, and he is also using the module for external communication. I just don't think that's the problem he's describing.

To me, it sounds like the issue is that “$Param{Subject}“ becomes empty when form validation fails.

— Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
Cali38
Znuny newbie
Posts: 1
Joined: 25 Apr 2024, 13:06
Znuny Version: 6.0
Real Name: Stephany Macejkovic

Re: AgentTicketEmailOutbound reset subject if To empty

Post by Cali38 »

In my scenario, another agent created the ticket for me.
The protocol involves me sending a communication to an external customer at this stage.
Subsequently, I include an "Communication > E-mail outbound" entry to the ticket.
If I overlook adding the recipient's email address in this instance, it could lead to a problem.
Post Reply