You are not logged in.
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
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
Ticket added :
Xavier Caillaud
Blog GLPI Infotel
Offline
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