[Koha-bugs] [Bug 26893] New version of JSON::Validator (D11) breaks our REST API routes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 21 15:59:29 CEST 2021


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

--- Comment #41 from Mason James <mtj at kohaaloha.com> ---
(In reply to Mason James from comment #37)
> (In reply to Bohdan from comment #36)
> > Hello. I've installed Koha 20.11.04 on latest Debian 10 and the API is
> > broken. I cannot get the list of available branches as it uses API.
> > 
> > Got the following in api error logs:
> > [ERROR] Warning: Could not load REST API spec bundle: Can't use string
> > ("parameters.json") as a HASH ref while "strict refs" in use at
> > /usr/share/perl5/JSON/Validator/OpenAPI/Mojolicious.pm line 272.

hi Bohdan, 
can you give more details?

1/ what is the url that causes the error?
2/ do you have any extra cpan modules installed?
3/ what version of the libjson-validator-perl package is installed?


the t/db_dependent/api/v1/libraries.t tests are passing for deb10/20.11.04, so
it might be a problem specific to your system

https://jenkins.koha-community.org/view/20.11/job/Koha_20.11_D10/87
https://jenkins.koha-community.org/view/20.11/job/Koha_20.11_D10/87/consoleText

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


More information about the Koha-bugs mailing list