[Koha-bugs] [Bug 14828] Move the item types related code to Koha::ItemTypes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 17 12:48:51 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14828

--- Comment #12 from Josef Moravec <josef.moravec at gmail.com> ---
I just tried and found some issues:

In translating itemtypes there is string "Koha::ItemType=HASH(0x8b7c6e0)" (for
example) instead of the itemtype code. 

On itemtype list (table on itemtype main page), there are missing images, the
charge is showed only if it's zero. But editing works as expected.

Adding new itemtype does not work because of this error:
Can't call method "searchcategory" on an undefined value at
/usr/share/koha/intranet/cgi-bin/admin/itemtypes.pl line 62.

I didn't find any reggression in these scripts:
- acqui/neworderempty.pl
- catalogue/itemsearch.pl
- admin/item_circulation_alerts.pl

Trying to use marc21_linking_section.pl cataloguing plugin i get these errors
in log:
Use of uninitialized value $self in pattern match (m//) at
/usr/share/perl5/MARC/File/XML.pm line 441.
TransformMarcToKoha called with undefined record at
/usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/marc21_linking_section.pl
line 212.
Use of uninitialized value $pos in index at
/usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/marc21_linking_section.pl
line 215.
Use of uninitialized value in index at
/usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/marc21_linking_section.pl
line 215.
Use of uninitialized value in split at
/usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/marc21_linking_section.pl
line 220.
Use of uninitialized value in split at
/usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/marc21_linking_section.pl
line 221.
Use of uninitialized value $CN in substitution (s///) at
/usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/marc21_linking_section.pl
line 226.
Use of uninitialized value $startfrom in multiplication (*) at
/usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/marc21_linking_section.pl
line 257.
Use of uninitialized value $startfrom in addition (+) at
/usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/marc21_linking_section.pl
line 279.
Use of uninitialized value $startfrom in subtraction (-) at
/usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/marc21_linking_section.pl
line 279.
CGI::param called in list context from package
CGI::Compile::ROOT::usr_share_koha_intranet_cgi_2dbin_cataloguing_plugin_launcher_2epl
line 26, this can lead to vulnerabilities. See the warning in "Fetching the
value or values of a single named parameter" at /usr/share/perl5/CGI.pm line
436.
CGI::param called in list context from package C4::Auth line 399, this can lead
to vulnerabilities. See the warning in "Fetching the value or values of a
single named parameter" at /usr/share/perl5/CGI.pm line 436.
Can't call method "field" on an undefined value at
/usr/share/koha/intranet/cgi-bin/cataloguing/value_builder/marc21_linking_section.pl
line 96.

I had Plack active during testing.

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


More information about the Koha-bugs mailing list