For Koha with UNIMARC a lot of entries in apache logs are produces like the following: [Tue Jun 07 21:47:32 2011] [error] [client xxxxxxxxxxxxx] [Tue Jun 7 21:47:32 2011] opac-search.pl: Use of uninitialized value $aufirst in concatenation (.) or string at /usr/share/koha/lib/C4/Biblio.pm line 1237. [Tue Jun 07 21:47:32 2011] [error] [client xxxxxxxxxxxxx] [Tue Jun 7 21:47:32 2011] opac-search.pl: Use of uninitialized value $isbn in concatenation (.) or string at /usr/share/koha/lib/C4/Biblio.pm line 1237. [Tue Jun 07 21:47:32 2011] [error] [client xxxxxxxxxxxxx] [Tue Jun 7 21:47:32 2011] opac-search.pl: Use of uninitialized value $issn in concatenation (.) or string at /usr/share/koha/lib/C4/Biblio.pm line 1237. [Tue Jun 07 21:47:32 2011] [error] [client xxxxxxxxxxxxx] [Tue Jun 7 21:47:32 2011] opac-search.pl: Use of uninitialized value $publisher in concatenation ( .) or string at /usr/share/koha/lib/C4/Biblio.pm line 1237. [Tue Jun 07 21:47:32 2011] [error] [client xxxxxxxxxxxxx] [Tue Jun 7 21:47:32 2011] opac-search.pl: Use of uninitialized value $pubyear in concatenation (.) or string at /usr/share/koha/lib/C4/Biblio.pm line 1237. In the patch, corrections to the GetCOinSBiblio function has been introduces, in the UNIMARC section: (i.e. || '' at the end of lines that can create this problem) -- analogous as it is in the MARC21 section.
Created attachment 4425 [details] [review] Proposed patch
Created attachment 4465 [details] [review] Bug 6480 - Koha produces a lot of apache logs for UNIMARC For Koha with UNIMARC a lot of entries in apache log lines are produced. In the patch, corrections to the GetCOinSBiblio function has been introduces, in the UNIMARC section: (i.e. || '' at the end of lines that can create this problem) -- analogous as it is in the MARC21 section. Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Simple change to read, provides backup initialized value in a harmless way. Marking as Passed QA
Pushed, please test
There have been no further reports of problems so I am marking this bug resolved.