[Koha-bugs] [Bug 10961] New: Error in GetMarcBiblio can cause severe data loss

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 27 18:53:28 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10961

            Bug ID: 10961
           Summary: Error in GetMarcBiblio can cause severe data loss
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: gmcharlt at gmail.com
          Reporter: kyle at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

A bug in GetMarcBiblio can cause severe data loss if your database has records
where the biblionumber and biblioitemnumber do not match and the script
misc/batchRebuildBiblioTables.pl is run. 

The Biblio::GetMarcBiblio makes a kall to 
C4::Biblio::_koha_marc_update_bib_ids which passes the biblionumber as both the
biblionumber *and the biblioitemnumber*.

Thus, if your biblio and biblioitem numbers are not always equal, you will end
up with a record where the biblioitemnumber is incorrect in the record!

This is usually not a severe issue, but since batchRebuildBiblioTables uses
that record to update the database tables, it ends up updating the wrong
biblioitem row!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list