[Bug 18106] New: Batch-update bibliographic records when authorities are modified
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18106 Bug ID: 18106 Summary: Batch-update bibliographic records when authorities are modified Change sponsored?: --- Product: Koha Version: 16.11 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: MARC Authority data support Assignee: gmcharlt@gmail.com Reporter: costalc@gmail.com QA Contact: testopia@bugs.koha-community.org Is there a way to batch-update bibliographic records when an authority record is modified? I mean with a cronjob (I guess dontmerge syspref is not the correct way) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18106 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |katrin.fischer@bsz-bw.de --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I think that is exactly what dontmerge does - unless you modified it outside of Koha? dontmerge: [Do|Don't] automatically update attached biblios when changing an authority record. If this is off, please ask your administrator to enable the merge_authority.pl cronjob. The merge_authority.pl cronjob will be used if you don't want to do it immediately after changing the record (could be a performance hit I guess) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18106 --- Comment #2 from Claudio <costalc@gmail.com> --- Katrin, happy to read you. I want to use merge_authority.pl cronjob (because a performance issue) but it does not work as the manual or the syspref explain it. Would you please send me an example? I want to modified ALL bibliographic records in a batch mode. Which parameters must I add to merge_authority.pl? Because it asks for two... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18106 --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- We haven't used it so far - only the automatic way. But I think it takes information about what records to update from the need_merge_authorities table in the database usually. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18106 --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Btw. this would be a better type of question for the mailing list, where lots more people read you and should not be a bug possibly at this state. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18106 --- Comment #5 from Claudio <costalc@gmail.com> --- merge_authority.pl works merging two authority records. It does not update bibliographic records from an authority record recently modified. For example, we have an authority record linked to 1000 bibliographic records. If we modify the authority record and then run merge_authority.pl it fails. See file attached. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18106 --- Comment #6 from Claudio <costalc@gmail.com> --- Created attachment 60165 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=60165&action=edit . -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18106 --- Comment #7 from Claudio <costalc@gmail.com> --- By the way, dontmerge syspref is set to don't merge -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18106 --- Comment #8 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I think it might be able to run it manually and without options to use the table. I don't fully understand the script. But there is a note: 42 All biblios with the authority in -t will be modified to be "connected" to authority -f The change in the bilbiographic records could not happen in the script itself, but in one of the routines it calls. Hard to tell without further investigation. I won't be able to look deeper into this. Maybe check if changing an authority heading creates an entry in the table for a start. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18106 --- Comment #9 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hm, found ModAuthority should be adding to the table: http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=C4/AuthoritiesMarc... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18106 --- Comment #10 from Claudio <costalc@gmail.com> --- The merge_authority.pl cronjob is not for upgrading bibliographic records, but to merge authority ones. It seems there's no way to batch-update bibliographic records when an authority one is modified... Thanks anyway Katrin! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18106 --- Comment #11 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Claudio, from the glances I took at the code, it looks differently to me. But you can also ask on the mailing list - someone there might be using the non-automatic verson of dontmerge. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18106 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED CC| |m.de.rooy@rijksmuseum.nl --- Comment #12 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Claudio There are several patches underway in this area. dontmerge will be replaced by authoritymergelimit in bug 9988 (will submit that one this week) a maintenance script will go on bug 18071 see all bugs related here on bug 17908 (omnibus) *** This bug has been marked as a duplicate of bug 17908 *** -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18106 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18106 --- Comment #13 from Claudio <costalc@gmail.com> --- (In reply to Marcel de Rooy from comment #12)
Claudio There are several patches underway in this area. dontmerge will be replaced by authoritymergelimit in bug 9988 (will submit that one this week) a maintenance script will go on bug 18071 see all bugs related here on bug 17908 (omnibus)
*** This bug has been marked as a duplicate of bug 17908 ***
Thanks Marcel, I will pay close attention to your comment. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org