Skip to content

infocoms not updated - incorrect decimal value #21034

@viktor-sc

Description

@viktor-sc

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

Version

10.0.20

Bug description

Hi,

Since the update to the latest version 10.0.20 I cannot update any infocom anymore. Also, the value field is empty even though there is a value in the DB.

In sql.log I see errors saying there's an incorrect decimal value.

Relevant log output

[2025-09-13 14:19:34] glpisqllog.ERROR: DBmysql::doQuery() in /volume1/web/glpi/src/DBmysql.php line 395
  *** MySQL query error:
  SQL: UPDATE `glpi_infocoms` SET `use_date` = '2025-09-13', `value` = '', `warranty_value` = '', `date_mod` = '2025-09-13 14:19:34' WHERE `id` = '426'
  Error: Incorrect decimal value: '' for column `glpi`.`glpi_infocoms`.`value` at row 1
  Backtrace :
  src/DBmysql.php:1499                               DBmysql->doQuery()
  src/CommonDBTM.php:686                             DBmysql->update()
  src/CommonDBTM.php:1703                            CommonDBTM->updateInDB()
  front/infocom.form.php:69                          CommonDBTM->update()
  public/index.php:82                                require()
  {"user":"6@ds1823"} 
[2025-09-15 10:22:42] glpisqllog.ERROR: DBmysql::doQuery() in /volume1/web/glpi/src/DBmysql.php line 395
  *** MySQL query error:
  SQL: UPDATE `glpi_infocoms` SET `delivery_date` = '2024-06-17', `use_date` = '2024-06-17', `value` = '', `warranty_value` = '', `warranty_date` = '2024-06-17', `date_mod` = '2025-09-15 10:22:42' WHERE `id` = '377'
  Error: Incorrect decimal value: '' for column `glpi`.`glpi_infocoms`.`value` at row 1
  Backtrace :
  src/DBmysql.php:1499                               DBmysql->doQuery()
  src/CommonDBTM.php:686                             DBmysql->update()
  src/CommonDBTM.php:1703                            CommonDBTM->updateInDB()
  front/infocom.form.php:69                          CommonDBTM->update()
  public/index.php:82                                require()
  {"user":"6@ds1823"}

Page URL

No response

Steps To reproduce

  1. In General Settings > Default values. Change the Number format to "1 234,56".
  2. Create any object and financial information
  3. Try to update and save.

Your GLPI setup information

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions