[Koha-bugs] [Bug 33445] New: Regression - Replacing authority via Z39.50 will not search for anything but the value from the existing authority

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 7 17:31:34 CEST 2023


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

            Bug ID: 33445
           Summary: Regression - Replacing authority via Z39.50 will not
                    search for anything but the value from the existing
                    authority
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P3
         Component: Cataloging
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: phil at chetcolibrary.org
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl,
                    martin.renvoize at ptfs-europe.com,
                    thibaud.guillot at biblibre.com
        Depends on: 29173

There are two steps to cataloguing/z3950_auth_search.pl - load it without
op=do_search and it inserts the value from any params that match a form field
name into the form and displays the form, or load it with op=do_search, and it
searches for the values from params that match form field names and displays
the results.

Bug 29173 implemented prefilling the form for the case where you are coming
from an authority detail view rather than an authority editor by looking up the
existing authority record, and inserting values from it into the variables
holding the input params.

It does that in both the first step (overwriting changes you've made in the
editor) and also in the do_search step, overwriting what you put in the search
form with the data from the existing stored authority record.

Steps to reproduce:

1. Find and edit any existing corporate name, personal name, subject or uniform
title authority which will have results from the Z39.50 server you're going to
search. For a usable ktd data and Library of Congress Names server example, use
Smith, Bessie, 1894-1937.
2. In the editor, note what's in the main entry field's subfield a (Smith,
Bessie)
3. Replace subfield a's contents with something different, like your own name
4. Click "Replace record via Z39.50/SRU search"
5. Note that rather than what you put in, the form field is filled with what
the record originally had
6. Replace it with your name again, this time in the search form, select the
server to search, and click Search
7. Note that the results are for what was originally in the record, not what
you put in the form

There are two cases where that makes replace via Z39.50 unusable: when you need
something different than the original, like after a change in heading or when
your existing record passed through an encoding error and you need to turn
Gâomez, Hâector Carlos into Gómez, Héctor Carlos, and cases where just the
subfield a is not enough to distinguish, like searching for Smith, John when
you want Smith, John, Jr., -1853 who appears on page 39 of the results. Oh, and
any name for UNIMARC, since subfield a is only the surname.

A very good start to fixing this would be to revert bug 29173 from 22.11,
22.05, and 21.11, since this feature is now broken back to oldoldstable.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29173
[Bug 29173] Button "replace authority record via Z39/50/SRU" doesn't pre-fill
-- 
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