[Koha-bugs] [Bug 36413] New: authority search staff broken

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 25 10:52:21 CET 2024


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

            Bug ID: 36413
           Summary: authority search staff broken
 Change sponsored?: ---
           Product: Koha
           Version: 23.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Cataloging
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: hagud at orex.es
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

When searching an authority from staff search, it returns

Error: Unmatched [ in regex; marked by <-- HERE in m/^[ <-- HERE ]$/ at
/usr/share/perl5/MARC/Field.pm line 643.

the issue might stem from how the $subfields string is used in the regex within
the conditional if statement. If $subfields contains special regex characters,
especially an unmatched [, it could cause the regex engine to throw an error
due to an invalid pattern.

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