[Koha-bugs] [Bug 17704] Fix OAI breakage when using HTTP::OAI 4.03+

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 25 12:51:15 CET 2022


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

Londhe A <iamalon1434 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major
                 CC|                            |iamalon1434 at gmail.com
           Priority|P5 - low                    |P3

--- Comment #21 from Londhe A <iamalon1434 at gmail.com> ---
(In reply to David Cook from comment #18)
> Created attachment 107216 [details] [review]
> Bug 17704: Enable ->xslt method (must use HTTP::OAI >= 4.07)
> 
> Signed-off-by: David Cook <dcook at prosentient.com.au>


I am getting same error,
<pre>Can't call method "processing_instruction" on an undefined value
at /usr/local/share/perl/5.30.0/HTTP/OAI/Response.pm line 115.

koha version    20.11.12
HTTP::OAI       4.11

to add this patch in my file there is no lines like this :

$response->set_handler($w);
#$response->xslt( "/opac-tmpl/xslt/OAI.xslt" );
$response->generate($driver);

lines in my file (Koha/OAI/Server/Repository.pm): 

$response->set_handler( XML::SAX::Writer->new( Output => *STDOUT ) );
$response->xslt( "/opac-tmpl/xslt/OAI.xslt" );
$response->generate;

bless $self, $class;
return $self;

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


More information about the Koha-bugs mailing list