[Koha-bugs] [Bug 30813] New: Refactor TransformMarcToKoha to remove TransformMarcToKohaOneField

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 19 21:29:40 CEST 2022


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

            Bug ID: 30813
           Summary: Refactor TransformMarcToKoha to remove
                    TransformMarcToKohaOneField
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

While testing bug 30789 it was found that passing the already retrieved marc
subfield structure into TransformMarckToKohaOneField increased performance by
~20%

This seemed odd as the routine is already retrieving from cache unsafe

Rather than pass around this shared variable, it seems to make sense to allow
TransformMarcToKoha to take a list of fields to process, rather than have a
seperate routine that must be called

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


More information about the Koha-bugs mailing list