glpi
glpi copied to clipboard
Merged tickets have status open in deleted ticket queue causing warning errors and confusion in resulting ticket.
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Is there an existing issue for this?
- [X] I have searched the existing issues
Version
10.0.2
Bug description
When merging a ticket into another ticket the merged ticket is linked and deleted. This linked ticket still has the status opened and is presented as an open linked ticket in the destination ticket.
This causes warnings to be thrown when an engineer tries to solve the ticket.
Also following the linked tickets inside the ticket allows you to open these deleted tickets without indication that these are actually deleted. Any action taken behaves like a normal ticket.
Quick-fix: Make sure deleted tickets are always closed.
Possible improvements:
- Have the ability to send a merge notification to the requester allowing him/her to keep track of his question (notification type?)
- The merged ticket to be updated in such a way that it doesn't have any role anymore in the process (status:merged?, deleted).
- Merged tickets are clearly identified in the linked tickets overview (allowing the engineer to be aware tickets where merged);
Relevant log output
No response
Page URL
https://host.domain.tld/front/ticket.form.php
Steps To reproduce
Create 2 tickets ; Merge 1 of the two in the other one using (son of, parent of) merge; Open the remaining ticket and try to solve it. Open the deleted ticket using the linked tickets in the remaining ticket. Solve the (deleted) ticket.
(users with limited rights
Your GLPI setup information
// removed security (targetable) sensitive information
Information about system installation & configuration
GLPI 10.0.2 ( => /var/www/html) Installation mode: TARBALL Current language:en_US
Server
Operating system: Linux el8.x86_64 #2 SMP Sat Jul 16 13:06:22 PDT 2022 x86_64 PHP 7.4.19 fpm-fcgi (Core, PDO, PDO_ODBC, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apcu, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, odbc, openssl, pcre, pdo_mysql, pdo_sqlite, posix, session, shmop, soap, sockets, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib) Setup: max_execution_time="60" memory_limit="512M" post_max_size="25M" safe_mode="" session.save_handler="files" upload_max_filesize="25M" Software: Apache Server Software: Source distribution Server Version: 8.0.26 Server SQL Mode: STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION Parameters: Host info: 127.0.0.1 via TCP/IPPHP version (7.4.19) is supported. Sessions configuration is OK. Allocated memory is sufficient. mysqli extension is installed. Following extensions are installed: dom, fileinfo, json, simplexml. curl extension is installed. gd extension is installed. intl extension is installed. libxml extension is installed. zlib extension is installed. The constant SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES is present. Database engine version (8.0.26) is supported. The log file has been created successfully. exif extension is installed. ldap extension is installed. openssl extension is installed. zip extension is installed. bz2 extension is installed. Zend OPcache extension is installed. Following extensions are installed: ctype, iconv, mbstring. Following extensions are not present: sodium. Write access to /var/www/html/marketplace has been validated. Timezones seems loaded in database.
GLPI constants
GLPI_ROOT: /var/www/html GLPI_CONFIG_DIR: /var/www/html/config GLPI_VAR_DIR: /var/www/html/files GLPI_MARKETPLACE_DIR: /var/www/html/marketplace GLPI_USE_CSRF_CHECK: 1 GLPI_CSRF_EXPIRES: 7200 GLPI_CSRF_MAX_TOKENS: 100 GLPI_USE_IDOR_CHECK: 1 GLPI_IDOR_EXPIRES: 7200 GLPI_ALLOW_IFRAME_IN_RICH_TEXT: GLPI_TELEMETRY_URI: https://telemetry.glpi-project.org GLPI_INSTALL_MODE: TARBALL GLPI_NETWORK_MAIL: [email protected] GLPI_NETWORK_SERVICES: https://services.glpi-network.com GLPI_MARKETPLACE_ALLOW_OVERRIDE: 1 GLPI_MARKETPLACE_MANUAL_DOWNLOADS: 1 GLPI_USER_AGENT_EXTRA_COMMENTS: GLPI_DISABLE_ONLY_FULL_GROUP_BY_SQL_MODE: 1 GLPI_AJAX_DASHBOARD: 1 GLPI_CALDAV_IMPORT_STATE: 0 GLPI_DEMO_MODE: 0 GLPI_CENTRAL_WARNINGS: 1 GLPI_DOC_DIR: /var/www/html/files GLPI_CACHE_DIR: /var/www/html/files/_cache GLPI_CRON_DIR: /var/www/html/files/_cron GLPI_DUMP_DIR: /var/www/html/files/_dumps GLPI_GRAPH_DIR: /var/www/html/files/_graphs GLPI_LOCAL_I18N_DIR: /var/www/html/files/_locales GLPI_LOCK_DIR: /var/www/html/files/_lock GLPI_LOG_DIR: /var/www/html/files/_log GLPI_PICTURE_DIR: /var/www/html/files/_pictures GLPI_PLUGIN_DOC_DIR: /var/www/html/files/_plugins GLPI_RSS_DIR: /var/www/html/files/_rss GLPI_SESSION_DIR: /var/www/html/files/_sessions GLPI_TMP_DIR: /var/www/html/files/_tmp GLPI_UPLOAD_DIR: /var/www/html/files/_uploads GLPI_INVENTORY_DIR: /var/www/html/files/_inventories GLPI_NETWORK_REGISTRATION_API_URL: https://services.glpi-network.com/api/registration/ GLPI_MARKETPLACE_PLUGINS_API_URI: https://services.glpi-network.com/api/glpi-plugins/ GLPI_I18N_DIR: /var/www/html/locales GLPI_VERSION: 10.0.2 GLPI_SCHEMA_VERSION: 10.0.2@a130db99c7d9b131c2e2ea59fe0d6260fe93d831 GLPI_MARKETPLACE_PRERELEASES: GLPI_MIN_PHP: 7.4.0 GLPI_MAX_PHP: 8.2.0 GLPI_YEAR: 2022
Libraries
htmlawed/htmlawed version 1.2.6 in (/var/www/html/vendor/htmlawed/htmlawed) phpmailer/phpmailer version 6.6.0 in (/var/www/html/vendor/phpmailer/phpmailer/src) simplepie/simplepie version 1.5.8 in (/var/www/html/vendor/simplepie/simplepie/library) tecnickcom/tcpdf version 6.4.4 in (/var/www/html/vendor/tecnickcom/tcpdf) michelf/php-markdown in (/var/www/html/vendor/michelf/php-markdown/Michelf) true/punycode in (/var/www/html/vendor/true/punycode/src) iamcal/lib_autolink in (/var/www/html/vendor/iamcal/lib_autolink) sabre/dav in (/var/www/html/vendor/sabre/dav/lib/DAV) sabre/http in (/var/www/html/vendor/sabre/http/lib) sabre/uri in (/var/www/html/vendor/sabre/uri/lib) sabre/vobject in (/var/www/html/vendor/sabre/vobject/lib) laminas/laminas-i18n in (/var/www/html/vendor/laminas/laminas-i18n/src) laminas/laminas-servicemanager in (/var/www/html/vendor/laminas/laminas-servicemanager/src) monolog/monolog in (/var/www/html/vendor/monolog/monolog/src/Monolog) sebastian/diff in (/var/www/html/vendor/sebastian/diff/src) donatj/phpuseragentparser in (/var/www/html/vendor/donatj/phpuseragentparser/src/UserAgent) elvanto/litemoji in (/var/www/html/vendor/elvanto/litemoji/src) symfony/console in (/var/www/html/vendor/symfony/console) scssphp/scssphp in (/var/www/html/vendor/scssphp/scssphp/src) laminas/laminas-mail in (/var/www/html/vendor/laminas/laminas-mail/src/Protocol) laminas/laminas-mime in (/var/www/html/vendor/laminas/laminas-mime/src) rlanvin/php-rrule in (/var/www/html/vendor/rlanvin/php-rrule/src) blueimp/jquery-file-upload in (/var/www/html/vendor/blueimp/jquery-file-upload/server/php) ramsey/uuid in (/var/www/html/vendor/ramsey/uuid/src) psr/log in (/var/www/html/vendor/psr/log/Psr/Log) psr/simple-cache in (/var/www/html/vendor/psr/simple-cache/src) psr/cache in (/var/www/html/vendor/psr/cache/src) league/csv in (/var/www/html/vendor/league/csv/src) mexitek/phpcolors in (/var/www/html/vendor/mexitek/phpcolors/src/Mexitek/PHPColors) guzzlehttp/guzzle in (/var/www/html/vendor/guzzlehttp/guzzle/src) guzzlehttp/psr7 in (/var/www/html/vendor/guzzlehttp/psr7/src) glpi-project/inventory_format in (/var/www/html/vendor/glpi-project/inventory_format/lib/php) wapmorgan/unified-archive in (/var/www/html/vendor/wapmorgan/unified-archive/src) paragonie/sodium_compat in (/var/www/html/vendor/paragonie/sodium_compat/src) symfony/cache in (/var/www/html/vendor/symfony/cache) html2text/html2text in (/var/www/html/vendor/html2text/html2text/src) symfony/css-selector in (/var/www/html/vendor/symfony/css-selector) symfony/dom-crawler in (/var/www/html/vendor/symfony/dom-crawler) twig/twig in (/var/www/html/vendor/twig/twig/src) twig/string-extra in (/var/www/html/vendor/twig/string-extra) symfony/polyfill-ctype not found symfony/polyfill-iconv not found symfony/polyfill-mbstring not found symfony/polyfill-php80 in (/var/www/html/vendor/symfony/polyfill-php80) symfony/polyfill-php81 in (/var/www/html/vendor/symfony/polyfill-php81)
SQL replicas
Not active
Notifications
Way of sending emails: SMTP+TLS ()
Plugins list
fields Name: Additional Fields Version: 1.14.0 State: Enabled Install Method: Marketplace archimap Name: Diagrams Version: 3.2.7 State: Enabled Install Method: Marketplace oauthimap Name: Oauth IMAP Version: 1.4.0 State: Enabled Install Method: Marketplace phpsaml Name: PHP SAML Version: 1.2.0 State: Enabled Install Method: Manual screenshot Name: Screenshot Version: 2.0.1 State: Enabled Install Method: Marketplace webapplications Name: Web applications Version: 4.0.0 State: Enabled Install Method: Marketplace
Anything else?
No response
Please first try with latest stable if you still reproduce.
Also, please provide logs, as requested.
There has been no activity on this issue for some time and therefore it is considered stale and will be closed automatically in 10 days.
If this issue is related to a bug, please try to reproduce on latest release. If the problem persist, feel free to add a comment to revive this issue. If it is related to a new feature, please open a topic to discuss with community about this enhancement on suggestion website.
You may also consider taking a subscription to get professionnal support or contact GLPI editor team directly.