[Bug 26657] New: "Unlinked" output of LinkBibHeadingsToAuthorities is ambiguous
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26657 Bug ID: 26657 Summary: "Unlinked" output of LinkBibHeadingsToAuthorities is ambiguous Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: MARC Bibliographic data support Assignee: koha-bugs@lists.koha-community.org Reporter: dcook@prosentient.com.au QA Contact: testopia@bugs.koha-community.org LinkBibHeadingsToAuthorities reports "unlinked" if a $9 link is deleted and it reports "unlinked" if there is no $9 link. Those are very different states. It looks like LinkBibHeadingsToAuthorities is used by C4::Biblio::BiblioAutoLink (which doesn't use the output), and it is used by misc/link_bibs_to_authorities.pl, which does render the output. -- 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=26657 David Cook <dcook@prosentient.com.au> 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=26657 --- Comment #1 from David Cook <dcook@prosentient.com.au> --- Created attachment 111464 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=111464&action=edit Bug 26657: Differentiate between unlinked and not linked This patch differentiates between unlinked (a linkage is removed) and not linked (there is no linkage) in the output of LinkBibHeadingsToAuthorities. Test plan: 0. Use koha-testing-docker 1. koha-shell -c "./misc/link_bibs_to_authorities.pl -l --test" kohadev 2. Note 436 bibs checked, 1315 headings linked, 678 headings not linked (Previously, the "not linked" headings would have been under the "unlinked" category.) -- 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=26657 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |dcook@prosentient.com.au |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=26657 --- Comment #2 from David Cook <dcook@prosentient.com.au> --- I would love to see some love on this one, as it's actually quite a handy change for sysadmins. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26657 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|dcook@prosentient.com.au |koha-bugs@lists.koha-commun | |ity.org -- 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=26657 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |dcook@prosentient.com.au |ity.org | -- 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=26657 Phil Ringnalda <phil@chetcolibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |phil@chetcolibrary.org Status|Needs Signoff |Patch doesn't apply -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26657 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Patch doesn't apply |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26657 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #111464|0 |1 is obsolete| | --- Comment #3 from David Cook <dcook@prosentient.com.au> --- Created attachment 191338 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=191338&action=edit Bug 26657: Differentiate between unlinked and not linked This patch differentiates between unlinked (a linkage is removed) and not linked (there is no linkage) in the output of LinkBibHeadingsToAuthorities. Test plan: 0. Apply the patch 1. perl ./misc/link_bibs_to_authorities.pl -l --test 2. Note 436 bibs checked, 1314 headings linked, 1 unlinked, 677 headings not linked (Previously, the "not linked" headings would have been under the "unlinked" category.) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26657 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=26657 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #191338|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26657 --- Comment #4 from David Nind <david@davidnind.com> --- Created attachment 193608 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193608&action=edit Bug 26657: Differentiate between unlinked and not linked This patch differentiates between unlinked (a linkage is removed) and not linked (there is no linkage) in the output of LinkBibHeadingsToAuthorities. Test plan: 0. Apply the patch 1. perl ./misc/link_bibs_to_authorities.pl -l --test 2. Note 436 bibs checked, 1314 headings linked, 1 unlinked, 677 headings not linked (Previously, the "not linked" headings would have been under the "unlinked" category.) 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=26657 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com --- Comment #5 from David Nind <david@davidnind.com> --- Testing notes (using KTD) 1. Results summary from before the patch: Bib authority heading linking report ======================================================= Linker module: C4::Linker::Default Run started at: 02/22/26 02:42:36 Run ended at: 02/22/26 02:42:39 Total run time: 2407 ms Number of bibs checked: 436 Number of bibs modified: 0 Number of bibs with errors: 1 Number of headings linked: 1314 Number of headings unlinked: 678 Number of headings fuzzily linked: 0 **** Ran in test mode only **** 2. Results summary from after the patch (==> shows differences): Bib authority heading linking report ======================================================= Linker module: C4::Linker::Default Run started at: 02/22/26 02:45:59 Run ended at: 02/22/26 02:46:02 Total run time: 2500 ms Number of bibs checked: 436 Number of bibs modified: 0 Number of bibs with errors: 1 Number of headings linked: 1314 ==>Number of headings unlinked: 1 Number of headings fuzzily linked: 0 ==>Number of headings not linked: 677 **** Ran in test mode only **** -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26657 --- Comment #6 from David Cook <dcook@prosentient.com.au> --- Thanks, David! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26657 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |This change differentiates release notes| |the output of the | |LinkBibHeadingsToAuthoritie | |s function so that it's | |clearer if a bib field is | |not linked or it has been | |unlinked (ie it was linked | |but the linker has removed | |its link). -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org