Checksum updated for all computer

Bug #1311852 reported by remizz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OCS Inventory: Server
Fix Released
High
mortheres

Bug Description

When a computer notify OCS Server 2.1 that its IP changed, OCS Server update the checksum for all computers (instead of only updating only the computer involved)

Bug seems located in
/usr/local/share/perl/5.14.2/Apache/Ocsinventory/Server/Capacities/Notify.pm
at the end of the file, you need to replace
$dbh->do("UPDATE hardware SET CHECKSUM=($mask|CHECKSUM)");
by
$dbh->do("UPDATE hardware SET CHECKSUM=($mask|CHECKSUM) WHERE ID=$hardwareId");

Revision history for this message
mortheres (mortheres) wrote :

Hi,

Thanks a lot for your report. It was a really stupid mistake :( :(. The fix has been commited in revison 724 of the stable-2.1 branch: http://bazaar.launchpad.net/~ocsinventory-dev/ocsinventory-server/stable-2.1/revision/724 .

It will be released in 2.1.1 release :) :).

Kind regards,

--
Guillaume

Changed in ocsinventory-server:
importance: Undecided → High
status: New → Fix Committed
assignee: nobody → mortheres (mortheres)
mortheres (mortheres)
Changed in ocsinventory-server:
milestone: none → 2.1.1
mortheres (mortheres)
Changed in ocsinventory-server:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.