pluginsGLPI / order

Order plugin for GLPI
GNU General Public License v3.0
39 stars 44 forks source link

Error when try to delete something in the GLPI 10.0.7 #357

Closed cadamuroa closed 1 year ago

cadamuroa commented 1 year ago

Hi Team,

Can someone help me? When I try to delete something in the GLPI server I get this error message:

image

This error is from Order Plugin? Someone get this error before?

[2023-05-17 18:01:51] glpiphplog.WARNING: *** PHP User Warning (512): Invalid relations declared between "glpi_plugin_order_othertypes" and "glpi_plugin_order_others" table. Target field "othertypes_id" is not a foreign key field. in ..\glpi\src\DbUtils.php at line 2144 Backtrace : src\DbUtils.php:2144 trigger_error() inc\db.function.php:585 DbUtils->getDbRelations() src\CommonDBTM.php:866 getDbRelations() src\CommonDBTM.php:788 CommonDBTM->cleanRelationData() src\CommonDBTM.php:2064 CommonDBTM->deleteFromDB() src\MassiveAction.php:1495 CommonDBTM->delete() src\MassiveAction.php:1408 MassiveAction::processMassiveActionsForOneItemtype() src\MassiveAction.php:1386 MassiveAction->processForSeveralItemtypes() front\massiveaction.php:59 MassiveAction->process() public\index.php:73 require()

cedric-anne commented 1 year ago

Fixed in 2.10.4.