Comment 7 for bug 1650409

Revision history for this message
Rogan Hamby (rogan-hamby) wrote : Re: [Bug 1650409] Re: authority_control_fields script's all option should pull a list of IDs from the database

Hi Josh,

Those sound like good ideas. I'd even be willing to work on some of them
as I have time though I think they should be separate launchpad tickets.
I'm tempted to reply with thoughts to some of your ideas but I'll reserve
that for their launchpad entries.

On Tue, Jun 5, 2018 at 12:28 PM, Josh Stompro <email address hidden> wrote:

> One more feature that I would like to see is a way to grab records based
> on what matches new authority records that have been loaded.
>
> I think a common occurrence is that new authority records get loaded for
> headings that are currently not controlled.
>
> So it would be nice to have a mode that grabs the new/edited authority
> records for the past x days and then process all bibs that have headings
> that match.
>
> An easier/alternate way might be to have a --heading option that selects
> records based on metabib.browse_entry and metabib.browse_entry_def_map.
> That way I could manually grab all the bibs related to a particular
> heading and process them. For my purposes I'm fine ignoring the
> definition id, if some extra bibs get re-processed that isn't a big
> deal.
>
> Josh
>
> --
> You received this bug notification because you are a bug assignee.
> Matching subscriptions: evergreenbugs
> https://bugs.launchpad.net/bugs/1650409
>
> Title:
> authority_control_fields script's all option should pull a list of IDs
> from the database
>
> Status in Evergreen:
> New
>
> Bug description:
> If you run the authority_control_fields.pl script with the -a or --all
> flag, it will connect to OpenSRF to get a list of all the undeleted
> bib ids in the consortium. This is undesirable, because it can be too
> much data for OpenSRF to handle, resulting in the following error
> message:
>
> "Can't use an undefined value as an ARRAY reference at
> /openils/bin/authority_control_fields.pl line 77."
>
> If you run the same script with the --days_back flag, it connects
> directly to the database to get a list of IDs. This is pretty handy,
> as it won't time out; it would be helpful if the --all flag also
> retrieved these IDs directly from the database.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/evergreen/+bug/1650409/+subscriptions
>