[Bug 22548] New: Z39.50/SRU search replaces existing biblios
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22548 Bug ID: 22548 Summary: Z39.50/SRU search replaces existing biblios Change sponsored?: --- Product: Koha Version: 18.11 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: rudolfbyker@gmail.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl Target Milestone: --- Possibly related, but not the same: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15360 Reproducing: - Search for a book under "Search the catalog", e.g. /cgi-bin/koha/catalogue/search.pl?q=movement - Note the biblionumber of the last book of the first page of the search results. It's 10624 in my case, and the title is "A political history of early Christianity". - Now click "Z39.50/SRU search" in the toolbar (between "Place hold" and "Sort"). - Click search in the popup window and wait for results. - Choose any book from the results and click "Actions" -> "Import". In my case I'm picking a book called "Against capital punishment". - The popup closes, and the catalog search results tab is directed to /cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=10624&z3950=1&breedingid=411522 Expected behaviour: - The title of the addbiblio.pl page should be "Add MARC record". - Clicking "Save" should add a new record to the catalog. Current behaviour: - The title of the addbiblio.pl page is "Editing Against capital punishment [electronic resource] : the anti-death penalty movement in America, 1972-1994 / Herbert H. Haines. (Record number 10624)". Note that this is the biblionumber of an existing book. More specifically, the last one from the first page of the search results mentioned above. - Clicking "Save" replaces "A political history of early Christianity" with "Against capital punishment". Additional information: Following the same process, but starting on "Cataloging Search" at /cgi-bin/koha/cataloguing/addbooks.pl instead of "Search the catalog" does NOT cause this problem, but causes a the MARC record to be imported as a NEW biblio, as expected. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22548 Rudolf Byker <rudolfbyker@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rudolfbyker@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22548 --- Comment #1 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- I tested on 18.05.something and on current master, and could not reproduce the issue. I note that you marked it as 18.11. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22548 Pablo AB <pablo.bianchi@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - low |P2 CC| |pablo.bianchi@gmail.com Severity|enhancement |major --- Comment #2 from Pablo AB <pablo.bianchi@gmail.com> --- I recently had this issue on a Koha 22.05.09-1. I believe this should be raised to major, since imply lost of information; unintentionally replacing biblio records by librarians. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22548 Patrick Robitaille <patrick.robitaille@collecto.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |patrick.robitaille@collecto | |.ca -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22548 Noémie Labine <noemie.labine@collecto.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |noemie.labine@collecto.ca --- Comment #3 from Noémie Labine <noemie.labine@collecto.ca> --- We encountered this situation with 22.05.07.000 Clicking on the z39.50 search button while on a results page causes the replacement of the last biblio record of the page by the imported biblio record, as described by Rudolf in 2019. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22548 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|18.11 |22.05 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22548 --- Comment #4 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- I tried on master and 21.11 and cannot reproduce. I only saw URL where biblionumber in the URL was empty. So in that case there is no overwrite. Please provide the steps in a more accurate way to reproduce. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22548 --- Comment #5 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Is there any preference or so involved in the game ? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22548 --- Comment #6 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- [14:26] <Joubu> js/pages/results.js [14:26] <Joubu> 394 function PopupZ3950() { [14:26] <Joubu> is using strQuery [14:27] <Joubu> 631 $template->param (z3950_search_params => C4::Search::z3950_search_args($z3950par || $query_desc)); [14:27] <Joubu> because before we had: catalogue/results.tt [14:27] <Joubu> 812 [%- FOREACH z3950_search_param IN z3950_search_params -%] [14:27] <Joubu> 813 strQuery += "&" + "[% z3950_search_param.name |uri %]" + "=" + "[% z3950_search_param.value |uri %]"; [14:27] <Joubu> 814 [%- END -%] [14:29] <Joubu> I can easily imagine a generic 'biblionumber' coming from somewhere else -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22548 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #7 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- *** This bug has been marked as a duplicate of bug 32172 *** -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org