[Koha-bugs] [Bug 5069] Authority clean-up scripts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat May 4 15:07:02 CEST 2019


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|rel_3_0                     |master

--- Comment #2 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
(In reply to Christopher Chagal from comment #0)
> When we originally migrated our data, we loaded ~ 40,000 auth records
> corresponding to ~ 200,000 bib records. I ran the
> link_bibs_to_authorities.pl script, but it appears that we have some bad
> data in our authorities (or our bibs?), because some did not link correctly.
> 
> I wonder if there's a way to utilize the process that creates authority
> records from the appropriate fields during the record creation process to
> generate authority records from unlinked headings of existing bibs.

That might be possible now - but not sure.

> In addition, we'd like to be able to delete the authorities we imported that
> have no bibs linked.

There is a script to delete unused authorities.

> I asked this question yesterday on IRC#koha and Chris Cormack mentioned that
> a script could be written for both of these and it "might be a good koha
> code learning exercise for someone at catalyst."  He asked me to submit this
> enhancement and assign it to him.
> 
> One thing I should add is this:  If there is not already a duplicate auth
> record checking functionality built into the process which auto-generates
> authorities during the record creation process, it seems that this would be
> important for a command line script, since we wouldn't want to create a
> bunch of identical authorities (which would then not function correctly as
> authority records).  Perhaps the link_bibs_to_authorities.pl script contains
> the necessary dup finding code?
> 
> We're running 3.00.05.001 (on Debian Lenny), so it would be useful for us if
> the scripts were compatible with 3.0 & 3.2.  If necessary, we'd be willing
> to upgrade to 3.00.06 (we're hoping to do so soon, anyway, unless 3.2
> becomes stable before we get around to it :) ).

I think there are several issues described here:
- duplicate check when auto-creating authorities
- create authority records for unlinked headings automatically

It might be worthwhile to split this into several more specific bugs if people
are still interested.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list