You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2018-08-16 15:02:26

starragheckert
Guest
Registered: 2009-09-25
Posts: 6

Bug manufacturersimports / Suppliers imports

Hi,
i think there is a bug in manufacturersimports.

It looks like when i use the HP Computer import, that the partnumber (pn) is not included in the post command.
Some computer works and some doesn't.

For a workaround i have added a fixed partnumber to the post command in the hp.class.php file.

      $info['post'] = ['apiKey'    => $key,
                       'apiSecret' => $apisecret,
                       'grantType' => 'client_credentials',
                       'scope'     => 'warranty',
                       'sn'        => rtrim($compSerial),
                       //BrM
                       'pn'        => 'G7T32AV',

With this modification it works. Of corse there should be the right partnumber, but my php skills are very limited.

GLPI 9.3.0
Suppliers imports    2.1.1

Best regards
Markus

Offline

#2 2018-10-11 16:01:05

amma35
Moderator
Registered: 2017-02-08
Posts: 58

Re: Bug manufacturersimports / Suppliers imports

Offline

Board footer

Powered by FluxBB