Koha 18.11 on Ubuntu 16.04 (MariaDb) with Plack. ================================================ I recently discovered that the Library of Congress released their 2014 authorities as a free, open-access dataset in Marc8, xml, and Utf8 formats. This is great! (https://www.loc.gov/cds/products/MDSConnect-subject_authorities.html) I have completed batch uploading the file successfully into Koha (about 320,000 records) and reindexed Zebra. Part of the authority file includes free-floating subdivisions, identified by the presence of a MARC21 authority tag 180. I discovered an "Internal Server Error" page if I attempted to click on the Details button of any of these sub-divisions' records in the OPAC authority browse results page. My Plack error log reported the following error each time I attempted to access the authorities details page from the OPAC: "Can't call method "authtypetext" on an undefined value at /usr/share/koha/opac/cgi-bin/opac/opac-authoritiesdetail.pl line 89." I corrected this error by creating a new Authority Type using the pre-populated value found in field 942 within these free-floating subdivision records (i.e., "GEN_SUBDIV") and assigning tag 180 as the "authority field to copy" Once created, I was able to access the OPAC details page, as expected, and all free-floating subdivisions were re-indexed as free-floating subdivisions. They also became selectable as an authority type from the drop-down menu in the Authority Search. For a detailed explanation of the above, see: http://craigbutosi.ca/2019/05/31/plack-error-authority-file-free-floating-subdivisions-koha-18-11/ The Authority Type GEN_SUBDIV should be defined in order to prevent the Plack error from occurring.
Created attachment 95354 [details] [review] Bug 23029: Remove "Truncated incorrect DOUBLE value: '01e'" from marcrecord2csv.t marc_subfield_structure.tagfield is a varchar(3)
Comment on attachment 95354 [details] [review] Bug 23029: Remove "Truncated incorrect DOUBLE value: '01e'" from marcrecord2csv.t Wrong bug report, that was for bug 24029.