]> git.koha-community.org Git - koha.git/commit
Bug 8914: Blank search that returns invalid authorities fails under Plack
authorJared Camins-Esakov <jcamins@cpbibliography.com>
Sat, 13 Oct 2012 02:49:07 +0000 (22:49 -0400)
committerPaul Poulain <paul.poulain@biblibre.com>
Thu, 25 Oct 2012 16:41:46 +0000 (18:41 +0200)
commitae977a9cfde90f888abd512fac22a7eea6ecf77c
tree02e3bc6ee7db6f49f05ff1fb909e355b5085e7cf
parentb81bb697a42471528ba2e139c20afd383cca27de
Bug 8914: Blank search that returns invalid authorities fails under Plack

When doing a search with no terms for the default authority type under
Plack, you will get a segfault if it returns any records that do not
have any authority type. As far as I can tell, this cannot be reproduced
under CGI/Apache.

To test:
Confirm that you don't get an error if you click the Submit button in
the authorities sections in the staff client and OPAC without entering
a term or changing the authority type.

You may or may not be able to reproduce the problem prior to applying
the patch, but that is the only situation in which I managed to trigger
it.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/AuthoritiesMarc.pm