[Koha-bugs] [Bug 27161] Base.pm complains about unitialized value

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Dec 12 05:17:53 CET 2020


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

Alvaro Cornejo <cornejo.alvaro at gmail.com> changed:

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

--- Comment #5 from Alvaro Cornejo <cornejo.alvaro at gmail.com> ---
Created attachment 114360
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114360&action=edit
Base.pm patch to fix uninitialize variable error

>From 32bfd2fe945e7aef6f489ddaf1c80be018622663 Mon Sep 17 00:00:00 2001
From: Alvaro Cornejo <cornejo.alvaro at gmail.com>
Date: Fri, 11 Dec 2020 23:02:06 -0500
Subject: [PATCH] Bug 27161: Base.pm complains about unitialized value

This patch does validate that $metadata exists and is set in sub get_metadata

TEST PLAN
Before applying the patch
tail plack error log and see errors like:

Use of uninitialized value in subroutine entry at line 182 in Base.pm

Apply the patch

restart koha-common service

tail plack error log and verify no more erros appear.

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


More information about the Koha-bugs mailing list