[Koha-bugs] [Bug 5332] New: Add batch reversion capability to bin/commit_biblios_file.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Oct 31 12:22:02 CET 2010


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

           Summary: Add batch reversion capability to
                    bin/commit_biblios_file.pl
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Tools
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: dpk at randomnotes.org
         QAContact: koha-bugs at lists.koha-community.org
   Estimated Hours: 0.0


Created attachment 2724
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=2724
version with new functionality

commit_biblios_file.pl needs a way to revert a batch in bulk.  I have done this
code and will attache it to bug for review and potential inclusion.

The basis for this enhancement was the a bad batch of MARC records that had
some unknown Unicode characters in them which cause the import function from
the web interface to fail after importing a portion of the records.  At that
point you are completely stuck.  You can't complete the import due to the
errors and there is no way to *revert* either.  You are stuck with a half
imported batch.

My change is to add a --revert flag to commit_biblios_file.pl which provides an
interface to the pre-existing BatchRevertBibRecords function.

I have also added a --progress-interval flag to allow the default commit
interval to be changed to aid in debugging bad import batches.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list