[Koha-bugs] [Bug 21958] New: _check_valid_auth_link checks too many subfields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 5 22:18:26 CET 2018


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

            Bug ID: 21958
           Summary: _check_valid_auth_link checks too many subfields
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: MARC Authority data support
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

In the sub we call C4::AuthoritiesMarc::GetAuthorizedHeading on the auth record

for the field we use all subfields a-z - these are not all valid authorized
heading fields

To recreate - add a 700 field with $i - link it to an authority with the $i

Run the linker in a way that it ends up checking the validity of this link, it
will be rejected as not matching

This can lead to multiple duplicate authorities being created depending upon
settings

-- 
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