Closed nealeydee closed 10 years ago
I don't use data injection and i don't know this problem when i modify code. But your issue is good and i work for patching it. I think release new version next week ;)
But you can add manually the profile simcard ;)
Hi
I solved the bug related to data injection plugin. This should work for you too. Can you go to my fork of the plugin, test the branch datainjection in a test environment and report back ?
This branch also has a new field (type) which may be useful (at least for me).
Thank you
When trying to import SIMCard data with the Data Injection Plugin, it fails trying to add a new record rather than update an existing record.
PHP Notice: Undefined index: PluginSimcardSimcardInjection in C:\inetpub\wwwroot\glpi\plugins\datainjection\inc\commoninjectionlib.class.php at line 234 PHP Warning: Invalid argument supplied for foreach() in C:\inetpub\wwwroot\glpi\plugins\datainjection\inc\commoninjectionlib.class.php at line 234 PHP Notice: Undefined index: PluginSimcardSimcardInjection in C:\inetpub\wwwroot\glpi\plugins\datainjection\inc\commoninjectionlib.class.php at line 1711 PHP Warning: Invalid argument supplied for foreach() in C:\inetpub\wwwroot\glpi\plugins\datainjection\inc\commoninjectionlib.class.php at line 1711 PHP Notice: Trying to get property of non-object in C:\inetpub\wwwroot\glpi\inc\dbmysql.class.php at line 252
Seems there is an indefined index. I believe that simcardinjection.class.php needs to be updated to reflect updates to the Data Injection plugin for version 0.84