fusinv/fusioninventory-for-glpi — pull request #18 by AdUser (2012-12-27 13:25:48+00:00)
Title: Update fusioninventory/inc/unknowndevice.class.php

I see, someone reported the problem with this mkdir() already, but it's still broken now.

Here is my variant.

Software versions: GLPI 0.83.31 + FusionInventory 0.83+2.0

Example trace:

2012-12-27 15:19
Warning(2): mkdir(): No such file or directory
Backtrace :
/var/www/html/glpi/inc/toolbox.class.php:490 Toolbox::userErrorHandlerNormal()
/var/www/html/glpi/plugins/fusioninventory/inc/unknowndevice.class.php:796 mkdir()
/var/www/html/glpi/plugins/fusinvsnmp/inc/communicationnetdiscovery.class.php:420 PluginFusioninventoryUnknownD
evice::writeXML()
/var/www/html/glpi/plugins/fusinvsnmp/inc/communicationnetdiscovery.class.php:313 PluginFusinvsnmpCommunication
NetDiscovery->importDevice()
/var/www/html/glpi/plugins/fusinvsnmp/inc/communicationnetdiscovery.class.php:250 PluginFusinvsnmpCommunication
NetDiscovery->rulepassed()
/var/www/html/glpi/plugins/fusinvsnmp/inc/importexport.class.php:502 PluginFusinvsnmpCommunicationNetDiscovery->se
ndCriteria()
/var/www/html/glpi/plugins/fusinvsnmp/inc/communicationnetdiscovery.class.php:100 PluginFusinvsnmpImportExport-
>import_netdiscovery()
/var/www/html/glpi/plugins/fusioninventory/inc/ocscommunication.class.php:189 PluginFusinvsnmpCommunicationNetDisco
very->import()
/var/www/html/glpi/plugins/fusioninventory/inc/ocscommunication.class.php:601 PluginFusioninventoryOCSCommunication
->import()
/var/www/html/glpi/plugins/fusioninventory/front/communication.php:82 PluginFusioninventoryOCSCommunication::manage
communication()
/var/www/html/glpi/plugins/fusioninventory/index.php:52 include_once()