[Koha-bugs] [Bug 13438] Convert normarc framework plugins to new style (see also 10480)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 21 21:16:52 CEST 2016


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

--- Comment #6 from Magnus Enger <magnus at libriotech.no> ---
I might be missing something, but when I run the test thingy I get errors:

$ sudo koha-shell -c "prove t/db_dependent/FrameworkPlugin.t -incl
cataloguing/value_builder/normarc*.pl" kohadev
[sudo] password for magnus: 
Feil. Prøv igjen.
[sudo] password for magnus: 
t/db_dependent/FrameworkPlugin.t ................ 1/5 substr outside of string
at /home/magnus/scripts/kohaclone/cataloguing/value_builder/marc21_field_007.pl
line 73.
substr outside of string at
/home/magnus/scripts/kohaclone/cataloguing/value_builder/marc21_field_007.pl
line 74.
[...]
substr outside of string at
/home/magnus/scripts/kohaclone/cataloguing/value_builder/marc21_field_007.pl
line 92.
Use of uninitialized value $f3 in concatenation (.) or string at
/home/magnus/scripts/kohaclone/cataloguing/value_builder/marc21_field_007.pl
line 99.
[...]
Use of uninitialized value $f22 in concatenation (.) or string at
/home/magnus/scripts/kohaclone/cataloguing/value_builder/marc21_field_007.pl
line 99.
oAuth error: Unsupported Use attribute (114) authtype Bib-1
DBIx::Class::Schema::resultset(): resultset() expects a source name at
/usr/share/koha/lib/Koha/Objects.pm line 237
    # Child (Test05 -- tests with build and launch for default plugins) exited
without calling finalize()
t/db_dependent/FrameworkPlugin.t ................ 5/5 
#   Failed test 'Test05 -- tests with build and launch for default plugins'
#   at /usr/local/share/perl/5.18.2/Test/Builder.pm line 279.
# Looks like you failed 1 test of 5.
# Looks like your test exited with 255 just after 5.
t/db_dependent/FrameworkPlugin.t ................ Dubious, test returned 255
(wstat 65280, 0xff00)
Failed 1/5 subtests 
Cannot detect source of '-incl'! at
/usr/local/share/perl/5.18.2/TAP/Parser/IteratorFactory.pm line 261.
       
TAP::Parser::IteratorFactory::detect_source('TAP::Parser::IteratorFactory=HASH(0x27879b0)',
'TAP::Parser::Source=HASH(0x2787aa0)') called at
/usr/local/share/perl/5.18.2/TAP/Parser/IteratorFactory.pm line 211
       
TAP::Parser::IteratorFactory::make_iterator('TAP::Parser::IteratorFactory=HASH(0x27879b0)',
'TAP::Parser::Source=HASH(0x2787aa0)') called at
/usr/local/share/perl/5.18.2/TAP/Parser.pm line 470
        TAP::Parser::_initialize('TAP::Parser=HASH(0x2787ae8)',
'HASH(0x25da478)') called at /usr/local/share/perl/5.18.2/TAP/Object.pm line 55
        TAP::Object::new('TAP::Parser', 'HASH(0x25da478)') called at
/usr/local/share/perl/5.18.2/TAP/Object.pm line 130
        TAP::Object::_construct('TAP::Harness=HASH(0x22f38e8)', 'TAP::Parser',
'HASH(0x25da478)') called at /usr/local/share/perl/5.18.2/TAP/Harness.pm line
852
        TAP::Harness::make_parser('TAP::Harness=HASH(0x22f38e8)',
'TAP::Parser::Scheduler::Job=HASH(0x25da658)') called at
/usr/local/share/perl/5.18.2/TAP/Harness.pm line 651
        TAP::Harness::_aggregate_single('TAP::Harness=HASH(0x22f38e8)',
'TAP::Parser::Aggregator=HASH(0x23f7770)',
'TAP::Parser::Scheduler=HASH(0x25da6d0)') called at
/usr/local/share/perl/5.18.2/TAP/Harness.pm line 743
        TAP::Harness::aggregate_tests('TAP::Harness=HASH(0x22f38e8)',
'TAP::Parser::Aggregator=HASH(0x23f7770)', 't/db_dependent/FrameworkPlugin.t',
'-incl', 'cataloguing/value_builder/normarc_field_007.pl',
'cataloguing/value_builder/normarc_field_008.pl',
'cataloguing/value_builder/normarc_leader.pl') called at
/usr/local/share/perl/5.18.2/TAP/Harness.pm line 558
        TAP::Harness::__ANON__() called at
/usr/local/share/perl/5.18.2/TAP/Harness.pm line 571
        TAP::Harness::runtests('TAP::Harness=HASH(0x22f38e8)',
't/db_dependent/FrameworkPlugin.t', '-incl',
'cataloguing/value_builder/normarc_field_007.pl',
'cataloguing/value_builder/normarc_field_008.pl',
'cataloguing/value_builder/normarc_leader.pl') called at
/usr/local/share/perl/5.18.2/App/Prove.pm line 546
        App::Prove::_runtests('App::Prove=HASH(0x1e852c8)', 'HASH(0x22c42f0)',
't/db_dependent/FrameworkPlugin.t', '-incl',
'cataloguing/value_builder/normarc_field_007.pl',
'cataloguing/value_builder/normarc_field_008.pl',
'cataloguing/value_builder/normarc_leader.pl') called at
/usr/local/share/perl/5.18.2/App/Prove.pm line 504
        App::Prove::run('App::Prove=HASH(0x1e852c8)') called at
/usr/local/bin/prove line 12

I have replaced some repeated errors with [...]

This is on a gitified package install.

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


More information about the Koha-bugs mailing list