You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a browser notification for new tickets. Upon creating a new ticket, I receive the notification in my browser as expected. However, when checking the notification queue, I notice that the notification remains in the queue; it does not clear after being sent.
I tested by forcing the notification to be sent, but it still remains in the queue, and I receive the following message:
I have also executed the 'queuednotificationclean' automatic action both through GLPI and the CLI, but the notification still does not clear from the queue.
The notification only clears from the queue if I manually select it and move it to the trash bin. However, this approach is obviously not feasible for managing notifications.
PHP version (8.1.29) is supported.
Sessions configuration is OK.
Allocated memory is sufficient.
mysqli extension is installed.
Following extensions are installed: dom, fileinfo, filter, libxml, json, simplexml, xmlreader, xmlwriter.
curl extension is installed.
gd extension is installed.
intl extension is installed.
zlib extension is installed.
The constant SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES is present.
Database engine version (8.0.37) is supported.
No files from previous GLPI version detected.
The log file has been created successfully.
Write access to /var/lib/glpiteste/files/_cache has been validated.
Write access to /var/lib/glpiteste/files/_cron has been validated.
Write access to /var/lib/glpiteste/files/_documents has been validated.
Write access to /var/lib/glpiteste/files/_dumps has been validated.
Write access to /var/lib/glpiteste/files/_graphs has been validated.
Write access to /var/lib/glpiteste/files/_lock has been validated.
Write access to /var/lib/glpiteste/files/_pictures has been validated.
Write access to /var/lib/glpiteste/files/_plugins has been validated.
Write access to /var/lib/glpiteste/files/_rss has been validated.
Write access to /var/lib/glpiteste/files/_sessions has been validated.
Write access to /var/lib/glpiteste/files/_tmp has been validated.
Write access to /var/lib/glpiteste/files/_uploads has been validated.
For security reasons, SELinux mode should be Enforcing.
Web server root directory configuration seems safe.
Sessions configuration is secured.
OS and PHP are relying on 64 bits integers.
exif extension is installed.
ldap extension is installed.
openssl extension is installed.
Following extensions are installed: bz2, Phar, zip.
Zend OPcache extension is installed.
Following extensions are installed: ctype, iconv, mbstring, sodium.
Write access to /usr/share/glpiteste/marketplace has been validated.
Timezones seems loaded in database.
htmlawed/htmlawed version 1.2.14 in (/usr/share/glpiteste/vendor/htmlawed/htmlawed)
phpmailer/phpmailer version 6.8.0 in (/usr/share/glpiteste/vendor/phpmailer/phpmailer/src)
simplepie/simplepie version 1.5.8 in (/usr/share/glpiteste/vendor/simplepie/simplepie/library)
tecnickcom/tcpdf version 6.4.4 in (/usr/share/glpiteste/plugins/pdf/vendor/tecnickcom/tcpdf)
michelf/php-markdown in (/usr/share/glpiteste/vendor/michelf/php-markdown/Michelf)
true/punycode in (/usr/share/glpiteste/vendor/true/punycode/src)
iamcal/lib_autolink in (/usr/share/glpiteste/vendor/iamcal/lib_autolink)
sabre/dav in (/usr/share/glpiteste/vendor/sabre/dav/lib/DAV)
sabre/http in (/usr/share/glpiteste/vendor/sabre/http/lib)
sabre/uri in (/usr/share/glpiteste/vendor/sabre/uri/lib)
sabre/vobject in (/usr/share/glpiteste/vendor/sabre/vobject/lib)
laminas/laminas-i18n in (/usr/share/glpiteste/vendor/laminas/laminas-i18n/src)
laminas/laminas-servicemanager in (/usr/share/glpiteste/vendor/laminas/laminas-servicemanager/src)
monolog/monolog in (/usr/share/glpiteste/vendor/monolog/monolog/src/Monolog)
sebastian/diff in (/usr/share/glpiteste/vendor/sebastian/diff/src)
donatj/phpuseragentparser in (/usr/share/glpiteste/vendor/donatj/phpuseragentparser/src/UserAgent)
elvanto/litemoji in (/usr/share/glpiteste/vendor/elvanto/litemoji/src)
symfony/console in (/usr/share/glpiteste/vendor/symfony/console)
scssphp/scssphp in (/usr/share/glpiteste/vendor/scssphp/scssphp/src)
laminas/laminas-mail in (/usr/share/glpiteste/vendor/laminas/laminas-mail/src/Protocol)
laminas/laminas-mime in (/usr/share/glpiteste/vendor/laminas/laminas-mime/src)
rlanvin/php-rrule in (/usr/share/glpiteste/vendor/rlanvin/php-rrule/src)
ramsey/uuid in (/usr/share/glpiteste/vendor/ramsey/uuid/src)
psr/log in (/usr/share/glpiteste/vendor/psr/log/Psr/Log)
psr/simple-cache in (/usr/share/glpiteste/vendor/psr/simple-cache/src)
psr/cache in (/usr/share/glpiteste/vendor/psr/cache/src)
league/csv in (/usr/share/glpiteste/vendor/league/csv/src)
mexitek/phpcolors in (/usr/share/glpiteste/vendor/mexitek/phpcolors/src/Mexitek/PHPColors)
guzzlehttp/guzzle in (/usr/share/glpiteste/vendor/guzzlehttp/guzzle/src)
guzzlehttp/psr7 in (/usr/share/glpiteste/vendor/guzzlehttp/psr7/src)
glpi-project/inventory_format in (/usr/share/glpiteste/vendor/glpi-project/inventory_format/lib/php)
wapmorgan/unified-archive in (/usr/share/glpiteste/vendor/wapmorgan/unified-archive/src)
paragonie/sodium_compat in (/usr/share/glpiteste/vendor/paragonie/sodium_compat/src)
symfony/cache in (/usr/share/glpiteste/vendor/symfony/cache)
html2text/html2text in (/usr/share/glpiteste/vendor/html2text/html2text/src)
symfony/css-selector in (/usr/share/glpiteste/vendor/symfony/css-selector)
symfony/dom-crawler in (/usr/share/glpiteste/vendor/symfony/dom-crawler)
twig/twig in (/usr/share/glpiteste/vendor/twig/twig/src)
twig/string-extra in (/usr/share/glpiteste/vendor/twig/string-extra)
symfony/polyfill-ctype not found
symfony/polyfill-iconv not found
symfony/polyfill-mbstring not found
symfony/polyfill-php80 not found
symfony/polyfill-php81 not found
symfony/polyfill-php82 in (/usr/share/glpiteste/vendor/symfony/polyfill-php82)
league/oauth2-client in (/usr/share/glpiteste/vendor/league/oauth2-client/src/Provider)
league/oauth2-google in (/usr/share/glpiteste/vendor/league/oauth2-google/src/Provider)
thenetworg/oauth2-azure in (/usr/share/glpiteste/vendor/thenetworg/oauth2-azure/src/Provider)
I cannot recreate the issue consistently, but there is definitely an issue with browser notification management. Possibly a race condition where the client-side script that checks for notifications gets a notification and displays it and the user navigates away from the page before the second request to GLPI to delete the notification is made.
Also, forcing a browser notification to send won't do anything. There is a client-side script that asks GLPI for the user's notifications to display rather than this being a push notification system, so GLPI can't send the notifications on demand like that.
Also, forcing a browser notification to send won't do anything. There is a client-side script that asks GLPI for the user's notifications to display rather than this being a push notification system, so GLPI can't send the notifications on demand like that.
Ok, I understand. However, do you agree that it’s not ideal for the GLPI notification queue to keep filling up? Is there any solution to prevent this from happening? Would this script be able to clear the notification queue? If so, where is this script located, and can it be adjusted to address the issue?
Code of Conduct
Is there an existing issue for this?
Version
10.0.16
Bug description
I created a browser notification for new tickets. Upon creating a new ticket, I receive the notification in my browser as expected. However, when checking the notification queue, I notice that the notification remains in the queue; it does not clear after being sent.
I tested by forcing the notification to be sent, but it still remains in the queue, and I receive the following message:
I have also executed the 'queuednotificationclean' automatic action both through GLPI and the CLI, but the notification still does not clear from the queue.
The notification only clears from the queue if I manually select it and move it to the trash bin. However, this approach is obviously not feasible for managing notifications.
Relevant log output
No response
Page URL
https://yourglpi.com/front/queuednotification.php
Steps To reproduce
Your GLPI setup information
Information about system installation & configuration
Server
GLPI constants
Libraries
LDAP directories
SQL replicas
Notifications
Plugins list
Anything else?
No response
The text was updated successfully, but these errors were encountered: