[Koha-bugs] [Bug 25539] New: Remove AddBiblio "defer_marc_save" option

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 19 11:50:09 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25539

            Bug ID: 25539
           Summary: Remove AddBiblio "defer_marc_save" option
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: glasklas at gmail.com
        QA Contact: testopia at bugs.koha-community.org

In bulkmarcimoprt.pl AddBiblio is called with defer_marc_save => 1. This
perhaps made sense sometime when items where saved embedded with the MARCXML,
but since that is no longer the case(?) there is no need for saving the
MARC-data once more after processing items in bulkmarcimport.pl. Thus this
option can/should be removed. The current behavior actually blocks bug 14957,
we recently discovered, since calling 
ModBiblioMarc after the record has been saved bypasses marc merge rules on
updates (which are applied in ModBiblio) and that save will ignore the possible
rules that has been setup.

I also discovered some other odd things that will not address in this bug. One
of the being that since ModBiblio runs _strip_item_fields no items will ever be
imported though bulkmarcimport on updates (but will be in inserts). I'm pretty
sure this is the case (have tested and verified, but seems odd this kind of bug
has survived undetected for so long).

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


More information about the Koha-bugs mailing list