[Koha-bugs] [Bug 17380] Resolve several problems related to Default authority framework

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 22 12:40:21 CEST 2017


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

Josef Moravec <josef.moravec at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #66277|0                           |1
        is obsolete|                            |
  Attachment #66278|0                           |1
        is obsolete|                            |
  Attachment #66279|0                           |1
        is obsolete|                            |
  Attachment #66280|0                           |1
        is obsolete|                            |

--- Comment #14 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 66313
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66313&action=edit
[SIGNED-OFF] Bug 17380: Add some checks around Authorities::Types->find

Resolves:
Use of uninitialized value $biblio_fields in scalar chop at
authorities/detail.pl line 212.
Can't call method "authtypetext" on an undefined value at authorities/detail.pl
line 216.
Can't call method "authtypecode" on an undefined value at authorities/detail.pl
line 180.

NOTE: Some of these problems have actually been resolved now by bugs 18801
and 18811, but it is still better imo to have these checks.

Test plan:
[1] Verify unchanged behavior. Search for some authorities on authorities.pl
    and click on the details of a record.
[2] Open an authorities detail page and change the authid in the URL to a
    not existing number. Instead of an internal server error, you should see
    a message like "The authority record you requested does not exist".

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>

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


More information about the Koha-bugs mailing list