[Koha-bugs] [Bug 36147] Load Austlang dataset from source to make available as authorised values

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 23 01:36:39 CET 2024


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

Aleisha Amohia <aleisha at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #162330|0                           |1
        is obsolete|                            |

--- Comment #2 from Aleisha Amohia <aleisha at catalyst.net.nz> ---
Created attachment 162354
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162354&action=edit
Bug 36147: Script to load Austlang dataset from source to make available as
authorised values

This enhancement adds a new cronjob that can be scheduled to regularly load
Indigenous Australian languages (Austlang) data from an external source,
process it, then create or update authorised values of this data.

This enhancement also adds an AUSTLANG authorised value category which can be
used for the Austlang data.

To test:

1) Check the documentation for the script is clear and accurate
  perldoc misc/cronjobs/download_austlang_for_authvalues.pl
2) Run the script with the verbose flag to see an error. You should see the
error "No AUSTLANG authorised value category found."
  ./misc/cronjobs/download_austlang_for_authvalues.pl -v
3) Install the database update and confirm in Koha Administration -> Authorized
values that the AUSTLANG category exists, with no values in it
4) Run the script with a fake URL to see the error "Error accessing data."
  ./misc/cronjobs/download_austlang_for_authvalues.pl -v --url 'bad-url'
5) Run the script normally. When you refresh the AUSTLANG authorised values
page, there should be languages loaded as authorised values.
  ./misc/cronjobs/download_austlang_for_authvalues.pl -v [--category AUSTLANG]
6) Run the script again to confirm it skips matches by default, i.e. a message
is printed "Authorised value match found, not updating: Y80"
  ./misc/cronjobs/download_austlang_for_authvalues.pl -v [--category AUSTLANG]
7) Run the script with the --update flag so it updates matches. Confirm a count
of updated values is printed at the end.
  ./misc/cronjobs/download_austlang_for_authvalues.pl -v --update [--category
AUSTLANG]

Sponsored-by: Education Services Australia SCIS

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list