-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Labels
Description
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
110.0.4
Plugin version
2.12.4
Bug description
Hello team,
It seems that we can't link an existing asset to an order.
Thanks.
Yannick
Relevant log output
glpi.CRITICAL: *** Uncaught PHP Exception RuntimeException: "MySQL query error: Column 'itemtype' cannot be null (1048) in SQL query "UPDATE `glpi_plugin_order_orders_items` SET `items_id` = '1276', `itemtype` = NULL WHERE `id` = '2684'"." at DBmysql.php line 392
Backtrace :
./src/DBmysql.php:392
./src/DBmysql.php:1469 DBmysql->doQuery()
./src/CommonDBTM.php:740 DBmysql->update()
./src/CommonDBTM.php:1767 CommonDBTM->updateInDB()
./plugins/order/inc/link.class.php:1006 CommonDBTM->update()
./plugins/order/inc/link.class.php:640 PluginOrderLink->createLinkWithItem()
./src/MassiveAction.php:1313 PluginOrderLink::processMassiveActionsForOneItemtype()
./src/MassiveAction.php:1291 MassiveAction->processForSeveralItemtypes()
./front/massiveaction.php:63 MassiveAction->process()
...Glpi/Controller/LegacyFileLoadController.php:64 require()
./vendor/symfony/http-kernel/HttpKernel.php:181 Glpi\Controller\LegacyFileLoadController->__invoke()
./vendor/symfony/http-kernel/HttpKernel.php:76 Symfony\Component\HttpKernel\HttpKernel->handleRaw()
./vendor/symfony/http-kernel/Kernel.php:197 Symfony\Component\HttpKernel\HttpKernel->handle()
./public/index.php:70 Symfony\Component\HttpKernel\Kernel->handle()Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
No response
Anything else?
No response