fusioninventory / fusioninventory-for-glpi

FusionInventory plugin for GLPI
http://www.FusionInventory.org/
GNU Affero General Public License v3.0
362 stars 150 forks source link

package deployment #2179

Open satyan01 opened 7 years ago

satyan01 commented 7 years ago

Hello I try to deploy a package just with copy file and the task stays prepared debug mode

{ "jobs": { "checks": [], "associatedFiles": [ "9afc1417524712d08c62179a1b385ccd010818570c437fd19e8dcea4e2564d3166208a39b5e333b9dc80cdf02e4b32f4f419d1a408e9ad7d26ac29d7f11962cf" ], "actions": [ { "mkdir": { "list": [ "c:\/temp\/testglpi" ] } } ] }, "associatedFiles": { "9afc1417524712d08c62179a1b385ccd010818570c437fd19e8dcea4e2564d3166208a39b5e333b9dc80cdf02e4b32f4f419d1a408e9ad7d26ac29d7f11962cf": { "name": "1st.PNG", "p2p": 0, "p2p-retention-duration": "0", "uncompress": 0 } } }

and I have that in log

2017-06-13 18:15:21 [1186@UNGSRVGVA118] PHP Warning(2): array_values() expects parameter 1 to be array, null given Backtrace : :
...s\fusioninventory\inc\deploycheck.class.php:635 array_values() ...fusioninventory\inc\deploypackage.class.php:698 PluginFusioninventoryDeployCheck::remove_item() ...fusioninventory\front\deploypackage.form.php:70 PluginFusioninventoryDeployPackage::alterJSON() 2017-06-13 18:15:21 [1186@UNGSRVGVA118]
PHP Notice(8): Undefined index: id Backtrace : ...s\fusioninventory\inc\deploycheck.class.php:638 ...fusioninventory\inc\deploypackage.class.php:698 PluginFusioninventoryDeployCheck::remove_item() ...fusioninventory\front\deploypackage.form.php:70 PluginFusioninventoryDeployPackage::alterJSON() 2017-06-13 18:28:46 [1186@UNGSRVGVA118] PHP Notice(8): Undefined index: metacriteria Backtrace : ...s\fusioninventory\front\deploygroup.form.php:58 2017-06-13 18:28:57 [1186@UNGSRVGVA118] PHP Notice(8): Undefined index: metacriteria Backtrace : ...s\fusioninventory\front\deploygroup.form.php:68

wawax commented 7 years ago

Hi,

Could you test with the dev version (GLPI 9.2 + FI plugin 9.2+1.0) ? This part has been mostly rewritten/improved and tested.

Thanks in advance