[Koha-bugs] [Bug 22522] API authentication breaks with updated Mojolicious version

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 8 14:13:49 CEST 2020


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

--- Comment #59 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 105639
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105639&action=edit
Bug 22522: Add support for current Mojolicious in 19.11

This patch allows tests to succeed with the following versions:
JSON::Validator 3.18
Mojolicious 8.32
Mojolicious::Plugin::OpenAPI 2.21

Also Mojolicious::Plugin::OpenAPI version 1.17 and later 1.x versions
now work.

Calling valid_input in under() would cause ' Use of uninitialized value
$_[2] ' in more recent OpenAPI plugins, so that was changed too. As far
as I can see this does not affect authorization.

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


More information about the Koha-bugs mailing list