Code of Conduct
Is there an existing issue for this?
GLPI Version
10.0.19
Plugin version
1.0.3
Bug description
When activing plugin, there is a strange error in php errors log when an inventory is raised
index 'glpiname' not found..
if i deactivate plugin database inventory : no more error
remark :
in 1.0.0 i had error with id not found
[2025-09-01 10:05:04] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "id" in D:\wamp\www\glpi\plugins\databaseinventory\inc\task.class.php at line 177
Relevant log output
[2025-09-02 13:29:03] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "glpiname" in D:\wamp\www\glpi\src\Search.php at line 729
Backtrace :
...nventory\inc\computergroupdynamic.class.php:183 Search::constructSQL()
plugins\databaseinventory\inc\task.class.php:244 PluginDatabaseinventoryComputerGroupDynamic->isDynamicSearchMatchComputer()
src\Plugin.php:1763 PluginDatabaseinventoryTask::handleInventoryTask()
src\Inventory\Request.php:420 Plugin::doHookFunction()
src\Inventory\Request.php:130 Glpi\Inventory\Request->handleInventoryTask()
src\Inventory\Request.php:340 Glpi\Inventory\Request->handleTask()
src\Inventory\Request.php:83 Glpi\Inventory\Request->contact()
src\Agent\Communication\AbstractRequest.php:359 Glpi\Inventory\Request->handleAction()
src\Agent\Communication\AbstractRequest.php:271 Glpi\Agent\Communication\AbstractRequest->handleJSONRequest()
front\inventory.php:100 Glpi\Agent\Communication\AbstractRequest->handleRequest()
plugins\glpiinventory\front\communication.php:72 include_once()
plugins\glpiinventory\index.php:45 include_once()
Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
No response
Anything else?
No response
Code of Conduct
Is there an existing issue for this?
GLPI Version
10.0.19
Plugin version
1.0.3
Bug description
When activing plugin, there is a strange error in php errors log when an inventory is raised
index 'glpiname' not found..
if i deactivate plugin database inventory : no more error
remark :
in 1.0.0 i had error with id not found
[2025-09-01 10:05:04] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "id" in D:\wamp\www\glpi\plugins\databaseinventory\inc\task.class.php at line 177
Relevant log output
Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
No response
Anything else?
No response