https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26893 --- Comment #42 from Bohdan <b.pastern4k@gmail.com> --- (In reply to Mason James from comment #41)
(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
It seems I had Mojolicious installed via cpanm and apt. That caused the problem. Thanks for the help. -- You are receiving this mail because: You are watching all bug changes.