[Bug 37947] New: Import from Z39.50 doesn't open the record in editor
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37947 Bug ID: 37947 Summary: Import from Z39.50 doesn't open the record in editor Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: major Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: caroline.cyr-la-rose@inlibro.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl When importing a record from Z39.50, normally choosing "Import" opens the record in the basic editor. However, the record is not opening. To recreate: 1. Go to Cataloging 2. Click on New from Z39.50/SRU 3. Make a search in the library of congress server for anything (I searched for author: shakespeare) 4. Click on one of the results and choose Import --> The basic editor appears, but not the record I tried this in KTD as well as a sandbox with the same result. I tried different records (all from LOC and all with author: shakespeare) but they all do the same thing. -- 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=37947 Dave <ddaghita@mckinneytexas.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ddaghita@mckinneytexas.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37947 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com --- Comment #1 from David Nind <david@davidnind.com> --- I can confirm that this is happening. KTD with main. -- 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=37947 --- Comment #2 from Phil Ringnalda <phil@chetcolibrary.org> --- Workaround (assuming you aren't currently trying to document New from Z39.50/SRU ;)): Cataloging - New record - Z39.50/SRU search Workaround #2: when you are faced with the empty page with no editor, delete the word Default from the URL in &frameworkcode=Default since the code for the default framework is "", not "Default". We were passing "Default" to z3950_search.pl and getting "" in the addbiblio.pl URL back when New from Z39.50/SRU used to work, so apparently someone got rid of something that did s/Default// somewhere along the line. -- 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=37947 Phil Ringnalda <phil@chetcolibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |phil@chetcolibrary.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37947 --- Comment #3 from Phil Ringnalda <phil@chetcolibrary.org> --- Although, https://git.koha-community.org/Koha-community/Koha/src/commit/40d9f2cf184bb9... still exists, so maybe that's not it. -- 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=37947 Phil Ringnalda <phil@chetcolibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@gmail.com Keywords| |regression Depends on| |37429 --- Comment #4 from Phil Ringnalda <phil@chetcolibrary.org> --- bisect says 8aced236e9 from bug 37429 (which I wanted to blame, but couldn't see any reason why it would break this). Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37429 [Bug 37429] Can't edit bibliographic records anymore (empty form) -- 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=37947 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- 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=37947 --- Comment #5 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 171709 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=171709&action=edit Bug 37947: (bug 37429 follow-up) Fix addbiblio and frameworkcode="Default" On bug 37429 we reordered the global var to assign them before anything else. The logic is correct except for $frameworkcode, we want to do some processings (like defaulting to "" if eq "Default") BEFORE we retrieve the MARC structure ($tagslib, $usedTagsLib). This patch also moved this code after get_template_and_user (and so authentication), like it should be everywhere. Test plan: 1. Go to Cataloging 2. Click on New from Z39.50/SRU 3. Make a search in the library of congress server for anything (Caroline searched for author: shakespeare) 4. Click on one of the results and choose Import Without this patch the basic editor appears, but not the record With this patch applied the bug is fixed and you can edit the record -- 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=37947 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rel_24_05_candidate Assignee|koha-bugs@lists.koha-commun |jonathan.druart@gmail.com |ity.org | -- 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=37947 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37947 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #171709|0 |1 is obsolete| | --- Comment #6 from David Nind <david@davidnind.com> --- Created attachment 171711 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=171711&action=edit Bug 37947: (bug 37429 follow-up) Fix addbiblio and frameworkcode="Default" On bug 37429 we reordered the global var to assign them before anything else. The logic is correct except for $frameworkcode, we want to do some processings (like defaulting to "" if eq "Default") BEFORE we retrieve the MARC structure ($tagslib, $usedTagsLib). This patch also moved this code after get_template_and_user (and so authentication), like it should be everywhere. Test plan: 1. Go to Cataloging 2. Click on New from Z39.50/SRU 3. Make a search in the library of congress server for anything (Caroline searched for author: shakespeare) 4. Click on one of the results and choose Import Without this patch the basic editor appears, but not the record With this patch applied the bug is fixed and you can edit the record Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37947 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |37946 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37946 [Bug 37946] Double menu when clicking the caret in Z39.50 search -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37947 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37947 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #171711|0 |1 is obsolete| | --- Comment #7 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 171822 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=171822&action=edit Bug 37947: (bug 37429 follow-up) Fix addbiblio and frameworkcode="Default" On bug 37429 we reordered the global var to assign them before anything else. The logic is correct except for $frameworkcode, we want to do some processings (like defaulting to "" if eq "Default") BEFORE we retrieve the MARC structure ($tagslib, $usedTagsLib). This patch also moved this code after get_template_and_user (and so authentication), like it should be everywhere. Test plan: 1. Go to Cataloging 2. Click on New from Z39.50/SRU 3. Make a search in the library of congress server for anything (Caroline searched for author: shakespeare) 4. Click on one of the results and choose Import Without this patch the basic editor appears, but not the record With this patch applied the bug is fixed and you can edit the record Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37947 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |m.de.rooy@rijksmuseum.nl |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37947 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |24.11.00 released in| | Status|Passed QA |Pushed to main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37947 --- Comment #8 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Pushed for 24.11! Well done everyone, thank you! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37947 Eric Phetteplace <ephetteplace@cca.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ephetteplace@cca.edu -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37947 Kyle M Hall (khall) <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |38076 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38076 [Bug 38076] Librarians with only fast add permission can no longer edit or create fast add records -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37947 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas@bywatersolutions.com Keywords|rel_24_05_candidate | Version(s)|24.11.00 |24.11.00,24.05.05 released in| | Status|Pushed to main |Pushed to stable --- Comment #9 from Lucas Gass <lucas@bywatersolutions.com> --- Backported to 24.05.x for upcoming 24.05.05 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37947 Miranda Nero <mnero@oslri.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mnero@oslri.net -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37947 Phil Ringnalda <phil@chetcolibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |38211 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38211 [Bug 38211] New biblio in non-Default framework opens in Default on first edit -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37947 Phil Ringnalda <phil@chetcolibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |isabel.pineda@ds.edu.sv --- Comment #10 from Phil Ringnalda <phil@chetcolibrary.org> --- *** Bug 38168 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37947 Manfred R. <quersumme@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |quersumme@web.de --- Comment #11 from Manfred R. <quersumme@web.de> --- The following is regarding my standard KOHA installation (according to http://wiki.koha-community.org/wiki/Debian) under Ubuntu Server 24.x with Apache 2. My successfully tested workaround makes use of the apache "substitute" module: - Edit /etc/apache2/sites-available/<koha-instance name>.conf - In the "intranet" virtualhost section, add the following two lines: SetOutputFilter SUBSTITUTE Substitute 's|frameworkcode=Default|frameworkcode=|nq' - sudo a2enmod substitute - sudo systemctl restart apache2 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37947 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to stable |Pushed to oldstable -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37947 Bug 37947 depends on bug 37429, which changed state. Bug 37429 Summary: Can't edit bibliographic records anymore (empty form) https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37429 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to oldstable |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37947 Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|Pushed to oldstable |RESOLVED CC| |wainuiwitikapark@catalyst.n | |et.nz --- Comment #12 from Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> --- Not backporting to 22.11 unless requested -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org