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 2008-02-04 12:48:57

MHI
Member
From: Germany
Registered: 2007-06-28
Posts: 367

Bug when importing software from OCS into GLPI 0.70.2 with dictionary

There seem to be a bug when importing software with a predefined dictionary when category names in OCS are almost equally named.

Problem example: I do have have two Categories in OCS. One is "Visio 2003" one is "Visio 2007" In each folder I have put one license respe´cting to the matching version.
If I know import this into GLPI it will create just one section with Visio 2003 with all Visio licenses in it, even the 2007 versions.
When I then force glpi to force a sync manually on one PC which has Visio 2007 installed, it will update the folder to Visio 2007, but now all Visio 2003 versions will be in that folder as well.

Probably just a regex match problem when importing from GLPI, as the software has the exact name except the ending "2003 or 2007"


RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45  --  GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script

Offline

#2 2008-02-04 20:41:11

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Bug when importing software from OCS into GLPI 0.70.2 with dictionary

If you modify dictionnary you need to clean softwares, unlock softwares and reimport them i think.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#3 2008-02-06 12:34:24

MHI
Member
From: Germany
Registered: 2007-06-28
Posts: 367

Re: Bug when importing software from OCS into GLPI 0.70.2 with dictionary

I tested it again with a fresh install and it was working okay now. Even after modifying dictionary in OCS and then forcing a sync, everything was was fine. I dunno where the hickup that I encountered came from.


RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45  --  GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script

Offline

Board footer

Powered by FluxBB