glpi icon indicating copy to clipboard operation
glpi copied to clipboard

GLPI 10 / GLPI 11 : Dates in management tab not saving

Open apohutenumera opened this issue 3 months ago • 7 comments

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

11.0.2

Bug description

In "management" tab of a computer, when we input an order date, a buy date, a delivery date, a use date, an inventory_date and save, the date isn't stored. But the decommission date and use date are OK. See video attached.

https://github.com/user-attachments/assets/033f721c-0234-4c12-bf15-48913ccf4e44

Relevant log output


Page URL

No response

Steps To reproduce

  1. in a computer asset
  2. Enable management if not
  3. Select dates or type them
  4. Click Save

Your GLPI setup information

GLPI information
GLPI: 11.0.2 (/public => /home/glpi10)
Installation mode: TARBALL
Current language: fr_FR
Source Integrity: 2 files changed
  A: inc/downstream.php
  A: public/.htaccess
Server
Operating system: Linux deutsch.o2switch.net 4.18.0-553.30.1.lve.el8.x86_64 #​1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64

PHP: 8.2.29 litespeed

PHP extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bz2, calendar, ctype, curl, hash, filter, ftp, gettext, json, iconv, SPL, pcntl, random, readline, Reflection, session, standard, mbstring, shmop, SimpleXML, tokenizer, xml, litespeed, bcmath, dom, fileinfo, gd, igbinary, imagick, imap, intl, ldap, exif, memcache, memcached, msgpack, PDO, mysqlnd, mysqli, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, redis, snmp, soap, sockets, sodium, solr, tidy, xmlreader, xmlrpc, xmlwriter, xsl, zip, Zend OPcache

Setup: disable_functions="" max_execution_time="360" max_input_vars="250000" memory_limit="512M" post_max_size="512M" session.cookie_secure="1" session.cookie_httponly="1" session.cookie_samesite="" session.save_handler="files" upload_max_filesize="512M"

Web server: Apache ()

User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36

Database:

Server Software: MariaDB Server

Server Version: 11.4.9-MariaDB

Server SQL Mode:

Parameters: glpi@localhost/glpico

Host info: Localhost via UNIX socket

Requirements: PHP version (8.2.29) is supported. OS and PHP are relying on 64 bits integers. Sessions configuration is OK. Allocated memory is sufficient. Following extensions are installed: dom, fileinfo, filter, libxml, simplexml, tokenizer, xmlreader, xmlwriter. mysqli extension is installed curl extension is installed gd extension is installed intl extension is installed mbstring extension is installed zlib extension is installed bcmath extension is installed The constant SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES is present. openssl extension is installed Database engine version (11.4.9) is supported. The log file has been created successfully. Write access to /home/glpi-data-files/_cache has been validated. Write access to /home/glpi-data-files/_cron has been validated. Write access to /home/glpi-data-files has been validated. Write access to /home/glpi-data-files/_graphs has been validated. Write access to /home/glpi-data-files/_lock has been validated. Write access to /home/glpi-data-files/_pictures has been validated. Write access to /home/glpi-data-files/_plugins has been validated. Write access to /home/glpi-data-files/_rss has been validated. Write access to /home/glpi-data-files/_sessions has been validated. Write access to /home/glpi-data-files/_tmp has been validated. Write access to /home/glpi-data-files/_uploads has been validated.

Sessions configuration is secured. exif extension is installed ldap extension is installed Following extensions are installed: bz2, Phar, zip. Zend OPcache extension is installed Following extensions are installed: ctype, iconv, sodium. Write access to /home/glpi10/marketplace has been validated. Timezones seems not loaded, see https://glpi-install.readthedocs.io/en/latest/timezones.html.

GLPI constants
GLPI_ROOT: "/home/glpi10"
GLPI_VERSION: "11.0.2"
GLPI_SCHEMA_VERSION: "11.0.2@ea2dbba0e1edbf5128d73bdb23c2c9b9f68468ba"
GLPI_FILES_VERSION: "11.0.2-52505ef9"
GLPI_MIN_PHP: "8.2"
GLPI_MAX_PHP: "8.5"
GLPI_YEAR: "2025"
GLPI_I18N_DIR: "/home/glpi10/locales"
GLPI_CONFIG_DIR: "/home/glpi-data-config"
GLPI_VAR_DIR: "/home/glpi-data-files"
GLPI_LOG_DIR: "/home/glpi-data-log"
GLPI_ENVIRONMENT_TYPE: "production"
GLPI_MARKETPLACE_DIR: "/home/glpi10/marketplace"
GLPI_ALLOW_IFRAME_IN_RICH_TEXT: false
GLPI_SERVERSIDE_URL_ALLOWLIST: ["~^\n                        (http|https|feed)://
# protocol\n (\n (?:\n
(?:xn--[a-z0-9-]++\.)+xn--[a-z0-9-]++ # a domain name using punycode\n
|\n (?:[\pL\pN\pS\pM\-\]++\.)+[\pL\pN\pM]++ # a multi-level domain name\n |\n [a-z0-9\-\]++
# a single-level domain name\n )\.?\n |
# or\n \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
# an IP address\n | # or\n \[\n
(?:(?:(?:(?:(?:(?:(?:[0-9a-f]{1,4})):){6})(?:(?:(?:(?:(?:[0-9a-f]{1,4})):(?:(?:[0-9a-f]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:::(?:(?:(?:[0-9a-f]{1,4})):){5})(?:(?:(?:(?:(?:[0-9a-f]{1,4})):(?:(?:[0-9a-f]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:(?:(?:(?:[0-9a-f]{1,4})))?::(?:(?:(?:[0-9a-f]{1,4})):){4})(?:(?:(?:(?:(?:[0-9a-f]{1,4})):(?:(?:[0-9a-f]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:(?:(?:(?:(?:[0-9a-f]{1,4})):){0,1}(?:(?:[0-9a-f]{1,4})))?::(?:(?:(?:[0-9a-f]{1,4})):){3})(?:(?:(?:(?:(?:[0-9a-f]{1,4})):(?:(?:[0-9a-f]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:(?:(?:(?:(?:[0-9a-f]{1,4})):){0,2}(?:(?:[0-9a-f]{1,4})))?::(?:(?:(?:[0-9a-f]{1,4})):){2})(?:(?:(?:(?:(?:[0-9a-f]{1,4})):(?:(?:[0-9a-f]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:(?:(?:(?:(?:[0-9a-f]{1,4})):){0,3}(?:(?:[0-9a-f]{1,4})))?::(?:(?:[0-9a-f]{1,4})):)(?:(?:(?:(?:(?:[0-9a-f]{1,4})):(?:(?:[0-9a-f]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:(?:(?:(?:(?:[0-9a-f]{1,4})):){0,4}(?:(?:[0-9a-f]{1,4})))?::)(?:(?:(?:(?:(?:[0-9a-f]{1,4})):(?:(?:[0-9a-f]{1,4})))|(?:(?:(?:(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9]))\.){3}(?:(?:25[0-5]|(?:[1-9]|1[0-9]|2[0-4])?[0-9])))))))|(?:(?:(?:(?:(?:(?:[0-9a-f]{1,4})):){0,5}(?:(?:[0-9a-f]{1,4})))?::)(?:(?:[0-9a-f]{1,4})))|(?:(?:(?:(?:(?:(?:[0-9a-f]{1,4})):){0,6}(?:(?:[0-9a-f]{1,4})))?::))))\n \] # an IPv6 address\n
)\n (?:/ (?:[\pL\pN\pS\pM\-._\~!$&'()
+,;=:@]|%[0-9A-Fa-f]{2})* )* # a path\n
(?:\? (?:[\pL\pN\-._\~!$&'\\+,;=:@/?]|%[0-9A-Fa-f]{2}) )? # a query (optional)\n
$~ixuD"] GLPI_DISALLOWED_UPLOADS_PATTERN: "/\.(php\d*|phar)$/i" 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_ENABLE: 3 GLPI_MARKETPLACE_PRERELEASES: false GLPI_MARKETPLACE_ALLOW_OVERRIDE: true GLPI_MARKETPLACE_MANUAL_DOWNLOADS: true GLPI_USER_AGENT_EXTRA_COMMENTS: "" GLPI_DOCUMENTATION_ROOT_URL: "https://links.glpi-project.org" GLPI_DISABLE_ONLY_FULL_GROUP_BY_SQL_MODE: "1" GLPI_LOG_LVL: "warning" GLPI_SKIP_UPDATES: false GLPI_STRICT_ENV: false GLPI_AJAX_DASHBOARD: "1" GLPI_CALDAV_IMPORT_STATE: 0 GLPI_CENTRAL_WARNINGS: "1" GLPI_SYSTEM_CRON: false GLPI_TEXT_MAXSIZE: "4000" GLPI_WEBHOOK_ALLOW_RESPONSE_SAVING: "0" GLPI_WEBHOOK_CRA_MANDATORY: false GLPI_ALTCHA_MODE: "interactive" GLPI_ALTCHA_MAX_NUMBER: 50000 GLPI_ALTCHA_EXPIRATION_INTERVAL: "PT20M" GLPI_DOC_DIR: "/home/glpi-data-files" GLPI_CACHE_DIR: "/home/glpi-data-files/_cache" GLPI_CRON_DIR: "/home/glpi-data-files/_cron" GLPI_GRAPH_DIR: "/home/glpi-data-files/_graphs" GLPI_LOCAL_I18N_DIR: "/home/glpi-data-files/_locales" GLPI_LOCK_DIR: "/home/glpi-data-files/_lock" GLPI_PICTURE_DIR: "/home/glpi-data-files/_pictures" GLPI_PLUGIN_DOC_DIR: "/home/glpi-data-files/_plugins" GLPI_RSS_DIR: "/home/glpi-data-files/_rss" GLPI_SESSION_DIR: "/home/glpi-data-files/_sessions" GLPI_TMP_DIR: "/home/glpi-data-files/_tmp" GLPI_UPLOAD_DIR: "/home/glpi-data-files/_uploads" GLPI_INVENTORY_DIR: "/home/glpi-data-files/_inventories" GLPI_THEMES_DIR: "/home/glpi-data-files/_themes" GLPI_PLUGINS_DIRECTORIES: ["/home/glpi10/marketplace","/home/glpi10/plugins"] GLPI_NETWORK_REGISTRATION_API_URL: "https://services.glpi-network.com/api/registration/" GLPI_MARKETPLACE_PLUGINS_API_URI: "https://services.glpi-network.com/api/marketplace/"
Réplicats SQL
Not active
Notifications
Way of sending emails: SMTP+OAUTH(smtp://[email protected]:********@smtp.office365.com:587)
Plugins list
treeview             Name: Arborescence                   Version: 1.20.0     State: Activé
Install Method: Marketplace financialreports Name: Arrêtés du parc Version: 3.0.0 State: Installé / non activé
Install Method: Marketplace positions Name: Cartographie Version: 7.0.1 State: Activé
Install Method: Marketplace shellcommands Name: Commandes Shell Version: 4.0.1 State: Installé / non activé
Install Method: Marketplace accounts Name: Comptes Version: 3.1.1 State: Activé
Install Method: Marketplace printercounters Name: Compteurs Imprimantes Version: 2.0.1 State: Installé / non activé
Install Method: Marketplace connections Name: Connexions Version: 11.0.1 State: Activé
Install Method: Marketplace uninstall Name: Cycle de vie des matériels (un Version: 2.10.3 State: Activé
Install Method: Marketplace webapplications Name: Dashboard applicatif Version: 5.1.2 State: Activé
Install Method: Marketplace datainjection Name: Data Injection Version: 2.15.2 State: Activé
Install Method: Marketplace databaseinventory Name: Database Inventory Version: 1.1.2 State: Activé
Install Method: Marketplace genericobject Name: Generic Objects End-of-Life Up Version: 3.0.2 State: Non installé
Install Method: Marketplace order Name: Gestion des commandes Version: 2.12.3 State: Activé
Install Method: Marketplace tag Name: Gestion des tags Version: 2.14.1 State: Activé
Install Method: Marketplace glpiinventory Name: GLPI Inventory Version: 1.6.3 State: Activé
Install Method: Marketplace glpisaml Name: Glpisaml Version: 1.1.12 State: Non installé
Install Method: Marketplace pdf Name: Impression pdf Version: 4.1.1 State: Activé
Install Method: Marketplace addressing Name: IP Addressing Version: 3.1.0 State: Activé
Install Method: Marketplace oauthimap Name: Oauth IMAP Version: 1.5.0 State: Activé
Install Method: Marketplace manageentities Name: Portail Clients Version: 4.1.2 State: Activé
Install Method: Marketplace statecheck Name: Régles de vérification d'état Version: 2.4.7 State: Activé
Install Method: Marketplace resources Name: Ressources humaines Version: 4.0.2 State: A mettre à jour
Install Method: Marketplace archisw Name: Structures d'Applications Version: 3.0.24 State: Activé
Install Method: Marketplace webresources Name: Web Resources Version: 2.0.4 State: Installé / non activé
Install Method: Marketplace

Anything else?

No response

apohutenumera avatar Nov 28 '25 09:11 apohutenumera

This issue already has been reported

trasher avatar Nov 28 '25 10:11 trasher

link to the previous issue ? Thanks

apohutenumera avatar Nov 28 '25 10:11 apohutenumera

See #21416.

cedric-anne avatar Dec 01 '25 08:12 cedric-anne

@cedric-anne thanks ! But it's not the same: the issue linked is about the decimal values and not the dates. so the fix merged doesn't solve this issue.

apohutenumera avatar Dec 01 '25 08:12 apohutenumera

I do not reproduce on current 11.0/bugfixes brach. Please try nightly build or wait for next release (planned this week).

trasher avatar Dec 01 '25 09:12 trasher

What is the Autofill dates for financial and administrative information configuration of the related entity? Could you try o suspend all plugins execution and see if the problem persist?

cedric-anne avatar Dec 03 '25 12:12 cedric-anne

I have the same problem. Seems like problem is related do the number format. If I set in profile format 1234.56 instead of 1234,56 then I can change enything in that tab. Question is why I can choose format if accepted is only one?

Kuba-Pawlak avatar Dec 08 '25 15:12 Kuba-Pawlak