You opened one ;) https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17704
Le 05/02/2018 à 12:01, Fridolin SOMERS a écrit : > Hi, > > Indeed, > Is there a bugzilla number already ? > > Le 01/02/2018 à 16:02, Jonathan Druart a écrit : >>> It has been removed from HTTP::OAI::Response 4.03 >> This is wrong, the method still exist. >> The change is that caused by (lib/HTTP/OAI/GetRecord.pm): >> -@ISA = qw( HTTP::OAI::Response ); >> +@ISA = qw( HTTP::OAI::ListRecords ); >> >> And there is no ->xslt in HTTP::OAI::ListRecords. >> Sounds like we will need someone to have a complete look at 4.06 to adapt >> our Koha::OAI modules. >> >> >> On Thu, 1 Feb 2018 at 11:35 Jonathan Druart < >> jonathan.dru...@bugs.koha-community.org> wrote: >> >>> Hi, >>> >>> Quick tests on master, hitting >>> /cgi-bin/koha/ >>> oai.pl?verb=GetRecord&identifier=KOHA-OAI-TEST:1&metadataPrefix=marcxml >>> >>> 3.27 => OK >>> 3.28 => OK >>> >>> 4.02 => KO cannot install via cpan >>> make: *** No rule to make target 'bin/oai_pmh.pl', needed by 'blib/script/ >>> oai_pmh.pl'. Stop. >>> >>> 4.03 => KO >>> Can't call method "start_element" on an undefined value at >>> /root/.cpanm/work/1517493937.13902/HTTP-OAI-4.03/blib/lib/HTTP/OAI/Verb.pm >>> line 53. >>> with --force: >>> Can't locate object method "xslt" via package "HTTP::OAI::GetRecord" at >>> /home/vagrant/kohaclone/Koha/OAI/Server/Repository.pm line 147. >>> >>> 4.04 to 4.06 => KO >>> Can't locate object method "xslt" via package "HTTP::OAI::GetRecord" at >>> /home/vagrant/kohaclone/Koha/OAI/Server/Repository.pm line 147. >>> >>> We use this xslt method since bug 15527 (OAI-PMH should have a stylesheet >>> to aid usability). >>> It has been removed from HTTP::OAI::Response 4.03 >>> >>> If I comment the line in our codebase ($response->xslt( >>> "/opac-tmpl/xslt/OAI.xslt" ); in Koha::OAI::Server::Repository->new), with >>> 4.06 I get: >>> Can't call method "start_element" on an undefined value at >>> /usr/local/share/perl/5.20.2/HTTP/OAI/Verb.pm line 55. >>> >>> Next? >>> I do not know :) >>> >>> Cheers, >>> Jonathan >>> >> >> >> >> _______________________________________________ >> Koha-devel mailing list >> Koha-devel@lists.koha-community.org >> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel >> website : http://www.koha-community.org/ >> git : http://git.koha-community.org/ >> bugs : http://bugs.koha-community.org/ >> > -- Julian Maurice <julian.maur...@biblibre.com> BibLibre _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/