[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
Tue Jun 9 11:31:51 CEST 2020


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

--- Comment #66 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 105657
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105657&action=edit
Bug 22522: [19.11.x] Add support for current Mojolicious and related packages

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.

Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

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


More information about the Koha-bugs mailing list