Open eduardomozart opened 3 years ago
Seems you haven't regenerate container files
after created additional fileds
I did "Regenerate container files" through "Additional fields" plug-in page and upgraded to GLPI 9.5.4 but the issue still persists. I even did a clean install of "FusionInventory for GLPI 9.5.0+2.0" (released yesterday) and "Additional fields" plug-in. There's no custom field anymore but this error is still being triggered. I did update the "Additional fields" plug-in from version 1.11.0 to version 1.12.2. After upgrading FusionInventory for GLPI plug-in to 9.5.0+2.0, instead of line 76, the error is triggered by line 77. I did update the original description of this bug report to reflect theses changes.
GLPI version: 9.5.3 FusionInventory for GLPI version: FusionInventory 9.5.0+1.0
The following error is thrown when clicking into a FusionInventory group when "Additional fields" plugin is enabled (requires "Debug mode" enabled).
The following error is thown into
<GLPI_ROOT>\files\_log\php-errors.log
:The following error is thrown into Apache
error.log
:No error is thrown into any other logs into
<GLPI_ROOT>/files/_log
folder and into Apacheaccess.log
.I decided to dig into the line 77 of
<GLPI_ROOT>/plugins/fusioninventory/inc/computer.class.php
file and it's simply detects iffields
plugin is enabled and runs a custom query, but it apparently fails. Maybe there was some code change intofields
plugin and a new adaptation for FusionInventory for GLPI is necessary? Apparently this custom query is to show custom fields into "Criteria" list for FusionInventory groups.GLPI information: