[Koha-bugs] [Bug 22723] Syntax error on confess call in Koha/MetadataRecord/Authority.pm

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 25 09:00:30 CEST 2019


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

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

--- Comment #6 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 88689
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=88689&action=edit
Bug 22723: Correct syntax error on confess call in
Koha/MetadataRecord/Authority.pm

In Koha/MetadataRecord/Authority.pm the call to confess is missing string
quotes.

It may generates this error :

Can't locate object method "confess" via package "Empty String at
/usr/share/perl5/MARC/File/XML.pm line 448.
" (perhaps you forgot to load "Empty String at
/usr/share/perl5/MARC/File/XML.pm line 448.
"?) at /home/koha/src/Koha/MetadataRecord/Authority.pm line 186.

Simply missing double quotes.
Also missing use Carp to call confess.

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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


More information about the Koha-bugs mailing list