Open prutkowski-cd opened 4 days ago
I have verified whether the issue is related to plugins, and it is not. I restored the virtual machine to a state prior to using any plugins, and the same problem persists. It seems the issue is connected to the way notifications are processed, as all messages are correctly displayed in GLPI, but sometimes notifications sent within the same minute are sent incorrectly.
Code of Conduct
Is there an existing issue for this?
Version
10.0.16
Bug description
We are experiencing an issue with follow-up messages (##followup.description##) where multiple follow-up messages sent within the same minute (queuednotification run frequency - 1 minute) for the same ticket result in the first follow-up message being sent multiple times in email notifications to the requester and observers.
Here is the expected behavior:
However, the actual behavior is:
This issue seems to occur when follow-up messages are added within the same minute, causing the notification system to multiply the first message in multiple notifications.
Relevant log output
Page URL
No response
Steps To reproduce
Your GLPI setup information
No response
Anything else?
Plugins: -MailAnalyzer - enabled and used -Ticketfilter - not used and disabled (was once enabled to check options)
Email Template in GLPI:
FOREACH LAST followups
Ticket Title: ##ticket.title##
Requesters: ##ticket.authors## Observers: ##ticket.observerusers##
IFticket.assigntousers
Technicians: ##ticket.assigntousers##
ENDIFticket.assigntousers## ##ELSEticket.assigntousers
Technicians: None assigned
ENDELSEticket.assigntousers
IFfollowup.author.email
[##followup.date##] ##followup.author.email## wrote:
ENDIFfollowup.author.email
followup.description
ENDFOREACHfollowups