Skip to content

SQL Error Updating Financial Information for Computers #504

@PlaneNuts

Description

@PlaneNuts

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

GLPI Version

10.0.17

Plugin version

2.14.2

Bug description

I received the following SQL error when trying to update the financial information for computer items. This might be related to #498

SQL Error "1366": Incorrect double value: '' for column `glpidb`.`glpi_infocoms`.`sink_coeff` at row 1 in query "UPDATE `glpi_infocoms` SET `immo_number` = 'ASSET-2504-00463', `buy_date` = '2025-05-09', `sink_coeff` = '', `date_mod` = '2025-09-03 14:54:53' WHERE `id` = '6624250'"

It seem sink_coeff is a not null field in the database, but a null value is being passed

Relevant log output

Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

No response

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions