Closed michaelNFF closed 2 years ago
I cannot recreate the issue with the comments being empty. I did confirm an issue with the KB linking.
Please provide the requested log output.
Specifically, entries from files/_log/php-errors.log
and files/_log/sql-errors.log
from around the time you experienced the issue.
sql_errors.log
[2022-09-12 16:25:36] glpisqllog.ERROR: DBmysql::query() in /var/www/html/glpi/src/DBmysql.php line 370 *** MySQL query error: SQL: INSERT INTO
glpi_itilfollowups(
itemtype,
items_id,
content,
requesttypes_id,
is_private,
users_id,
timeline_position,
date,
date_creation,
date_mod) VALUES ('Ticket', '9038', '<p>zdz</p>', '0', '', '1812', '4', '2022-09-12 16:25:36', '2022-09-12 16:25:36', '2022-09-12 16:25:36') Error: Incorrect integer value: '' for column
glpi.
glpi_itilfollowups.
is_privateat row 1 Backtrace : src/DBmysql.php:1312 src/CommonDBTM.php:705 DBmysql->insert() src/CommonDBTM.php:1304 CommonDBTM->addToDB() front/itilfollowup.form.php:55 CommonDBTM->add() {"user":"1812@nfmaglpi12"} [2022-09-12 16:26:22] glpisqllog.ERROR: DBmysql::query() in /var/www/html/glpi/src/DBmysql.php line 370 *** MySQL query error: SQL: INSERT INTO
glpi_itilfollowups(
itemtype,
items_id,
content,
requesttypes_id,
is_private,
users_id,
timeline_position,
date,
date_creation,
date_mod) VALUES ('Ticket', '9038', '<p>----</p>', '0', '', '1812', '4', '2022-09-12 16:26:22', '2022-09-12 16:26:22', '2022-09-12 16:26:22') Error: Incorrect integer value: '' for column
glpi.
glpi_itilfollowups.
is_privateat row 1 Backtrace : src/DBmysql.php:1312 src/CommonDBTM.php:705 DBmysql->insert() src/CommonDBTM.php:1304 CommonDBTM->addToDB() front/itilfollowup.form.php:55 CommonDBTM->add() {"user":"1812@nfmaglpi12"}
php-errors.log stay empty
Upgrade GLPI to 10.0.3 today
This issue is solved by last GLPI version 10.0.3.
Good job.
Thanks.
Code of Conduct
Is there an existing issue for this?
Version
GLPI 10.0.2
Bug description
Hello,
No link between Knowledge base article and ticket solution. When I click on Use as a solution the comments solution field stay empty.
Regards
Relevant log output
No response
Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
Informations sur le système, l'installation et la configuration
Server
GLPI constants
Libraries
LDAP directories
SQL replicas
Notifications
Plugins list
Anything else?
No response