You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2025-03-07 14:24:14

WebGreg
Member
Registered: 2020-02-27
Posts: 772

Notification queue - problem with the queue clearin?

Hi

front/queuednotification.php

1. I'm displaying the "Recipient email" column here. However, I don't see email addresses, only numeric user account IDs. Is this normal?

2. From what I've noticed - the same notification is in the trash, where I can see the email address. It looks like an automatic task clears the queue by moving entries to the trash, but leaves them in such a "shortened" form.

front/queuednotification.php?is_deleted=0

Subject 	Creation date	        Recipient email         Send date
[GLPI #0000090]	2025-03-07 09:27	12           

[GLPI #0000087]	2025-03-07 09:44	19

[GLPI #0000087]	2025-03-07 09:44	11
front/queuednotification.php?is_deleted=1

Subject 	        Creation date	        Recipient email          Send date
[GLPI #0000090] Update	2025-03-07 09:27	user1@domain.com         2025-03-07 09:37

[GLPI #0000087] Update	2025-03-07 09:44	user3@domain.com         2025-03-07 08:22

[GLPI #0000087] Update	2025-03-07 09:44	user2@domain.com         2025-03-07 08:22

3. It doesn't work like that, moving an event to the trashbin generates an email address as an id in the queue and a correct address in the trashbin. I have one event, in which it was sent to 8 people. In the trash bin it is for 8 people, in the queue it is left for... 5 people. Each of these 5 people in the queue has an id. In the trash bin - 5 people have a correct address (removed from the queue), but the other 3 people also have an id here.

Last edited by WebGreg (2025-03-07 15:16:14)


--
GLPI 10.0.18
GLPI-Inventory 1.5.0
Ubuntu Server 20.04 LTS

Offline

#2 2025-03-07 15:44:42

cconard96
Moderator
Registered: 2018-07-31
Posts: 3,267
Website

Re: Notification queue - problem with the queue clearin?

Are you sure the notifications with the IDs are email notifications and not browser notifications? You can add the "Mode" column to see this.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2025-03-07 17:59:33

WebGreg
Member
Registered: 2020-02-27
Posts: 772

Re: Notification queue - problem with the queue clearin?

As always - you are right. ID is related to the browser, while email is actually related to email smile That explains a lot. Thank you smile


--
GLPI 10.0.18
GLPI-Inventory 1.5.0
Ubuntu Server 20.04 LTS

Offline

Board footer

Powered by FluxBB