[Koha-bugs] [Bug 18996] SIP sets ok flag to true for refused checkin for data corruption

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 18 17:07:06 CEST 2017


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

--- Comment #29 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 66181
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66181&action=edit
Bug 18996: Resolve an uninitialized warning from ILS/Item.pm

>From the syslog call on line 107/108. The field $item->{title} has not
been initialized. When catching the warns in a test script with Test::Warn,
I got:
    Use of uninitialized value $args[1] in sprintf at
/usr/lib/x86_64-linux-gnu/perl/5.20/Sys/Syslog.pm line 423.

This simply resolves the warning. We might have a closer look to this title
field on another report though.

Test plan:
Run Message.t from the next patch without this fix. It will fail since the
additional warning makes warnings_like return false.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Colin Campbell <colin.campbell at ptfs-europe.com>

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list