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 2014-09-16 14:40:22

Kult
Member
Registered: 2014-09-08
Posts: 5

Bug: plugin OCS NG 1.03 forced synchronisation OCSNG

Hi,

GLPI : 0.84.6
Plugin OCSNG : 1.0.3
OS : SLES 11sp2

I think I've found a bug in the synchronisation process with the new plugin OCSNG.
Each time an OCS sync (auto or manual) occur, most software in my computer are erased (software tab display 71 instead of the previous number 221). At the next sync, the computer gets its software back (71->221).

In an environnment with around 10K computer and this behaviour is happenning to most if not all of them ... you can imagine how annoying this can be, plus my DB cannot be reliable regarding the software installed on a computer.

This behaviour as been reported in the forum (French) here and also the post with the id=36812.

Regards,

Offline

#2 2014-09-19 12:54:59

Kult
Member
Registered: 2014-09-08
Posts: 5

Re: Bug: plugin OCS NG 1.03 forced synchronisation OCSNG

Ok,

I think we've corrected the bug. We've change the line 4834 from the ocsserver.class.php :
                 

$id = array_search(strtolower(stripslashes($modified_name.self::FIELD_SEPARATOR.$version)),

to
                 

$id = array_search(strtolower(stripslashes($modified_name.self::FIELD_SEPARATOR.$modified_version)),  // Patch BUG TKB + JGA

we can now force the synch and we are not facing the add/delete software flapping anymore.

Regards

Offline

#3 2014-09-19 14:43:40

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: Bug: plugin OCS NG 1.03 forced synchronisation OCSNG


Xavier Caillaud
Blog GLPI Infotel

Offline

#4 2014-09-22 13:57:43

berserker
Member
From: Toulouse
Registered: 2009-09-15
Posts: 160

Re: Bug: plugin OCS NG 1.03 forced synchronisation OCSNG

TSMR do you have a solution to purge history of those duplicate entries ?


GLPI : 9.1.6 - OCS : 2.1.2
Plateforme : Windows Server 2008R2 Standard Edition Service Pack 1
Apache/2.2.31 (Win32) mod_ssl/2.2.31 OpenSSL/1.0.1p PHP/5.4.45 mod_perl/2.0.8 Perl/v5.16.3 ()
MySQL: 5.7.10-log

Offline

Board footer

Powered by FluxBB