Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate agent notification on a created ticket #477

Open
schnudd31do3 opened this issue Aug 11, 2023 · 13 comments
Open

Duplicate agent notification on a created ticket #477

schnudd31do3 opened this issue Aug 11, 2023 · 13 comments
Labels
4 - clarification The issue or pull requests needs more information.

Comments

@schnudd31do3
Copy link

Environment

  • OS: Debian bookworm / 12
  • Browser: Chrome
  • Znuny version: 7.0.9

Expected behaviour

Sending only one notification on created ticket

Actual behaviour

Duplicate agent notification on a created ticket from the queue in where the ticket was created

How to reproduce

Steps to reproduce the behavior:

Set a specific email sender address which must be not informed by auto responses
Sys config: SendNoAutoResponseRegExp

A generic agent converts the tickets in a process ticket. The agent notification in it is enabled.

Additional information

When disabling the agent notification in this generic agent, NO agent notification is sent on created tickets.

But: Agents and customers are informed correctly by the ticket created information, when the ticket sender address is NOT in the list frm SendNoAutoResponseRegExp

Screenshots

image

image

@rkaldung
Copy link
Contributor

@schnudd31do3 Please also share the (redacted) ticket history

@schnudd31do3
Copy link
Author

image

@schnudd31do3
Copy link
Author

image

@rkaldung
Copy link
Contributor

image

This is how agent notifications look like. They are logged in the ticket history. If not you did something wrong and probably have multiple events matching.

@rkaldung
Copy link
Contributor

@schnudd31do3 How looks the Events and Recipients part od the notification?

@tgurr
Copy link
Contributor

tgurr commented Aug 15, 2023

We experienced a similiar problem after upgrading from 6.0.48 LTS to 6.5.2 LTS documented at: #422 which was worked around by changing the event from NotificationNewTicket to TicketCreate in the respective ticket notifications. Just mentioning this here as the root problem might still exist as it was only worked around configuration wise and it might be related if not the same - if not, sorry for the noise.

@rkaldung
Copy link
Contributor

@schnudd31do3 Are the ticket notification part of the ticket history? Please also share your ticket notification.

@rkaldung rkaldung added the 4 - clarification The issue or pull requests needs more information. label Aug 23, 2023
@schnudd31do3
Copy link
Author

schnudd31do3 commented Sep 4, 2023

@rkaldung: Sorry for delayed answer. I was not in the office.
The od notifications look exactly equal:
image

The ticket notification is not part of the ticket history because all responding for this special ticket-creator (sender email address) is disabled.

@schnudd31do3
Copy link
Author

schnudd31do3 commented Sep 4, 2023

@tgurr : Thanks for your hint. For the first step it worked. I keep on observing and I will respond later for a final report.

@schnudd31do3
Copy link
Author

My settngs for NotificationEvent is:
image

@schnudd31do3
Copy link
Author

@tgurr : Your solution solved my problem. I guess it is a bug, because I observed it only in combination with no-answering to the customer. I don't have this when the system answeres to the customer normaly, e. g. when a ticket was created.

@rkaldung
Copy link
Contributor

The ticket notification is not part of the ticket history because all responding for this special ticket-creator (sender email address) is disabled.

@schnudd31do3 If there is an agent notification sent it's visible in the ticket history, except you have modified the code. "Has been created in queue..." looks pretty familiar like a new ticket created notification. If this e-mail is sent twice then there must be two entries in the ticket history. Each one is mentioned with the ticket notification's name. See red marked area in the example:
image

My questions:
1.) Do you have these entries?
2.) Is the recipient listed twice and what are the notifications name's?

@schnudd31do3
Copy link
Author

schnudd31do3 commented Oct 13, 2023

@rkaldung
1: Yes
2: Yes, do you mean the subject? -> Yes, the subject is identical.

As I wrote, the difference makes switching from NotificationNewTicket to TicketCreate. With no other configuration change, except the TicketCreate, the notifications was not sent twice. And, I did not modify any code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4 - clarification The issue or pull requests needs more information.
Development

No branches or pull requests

3 participants