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

--- Comment #2 from Tomás Cohen Arazi <[email protected]> ---
Created attachment 131374
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131374&action=edit
Bug 30194: Adapt V1.pm to the latest JSON::Validator

This patch acknowledges a refactoring that took place within
JSON::Validator, the OpenAPIv2 schema validator and the
Mojolicious::Plugin::OpenAPI plugin.

To test:
0. Edit /etc/apt/sources.list.d/koha.list
   - Duplicate the only present line, replacing 'dev' for 'exp'
   Run:
   $ apt update ; apt dist-upgrade
1. Apply this patch
2. Restart all:
   $ restart_all ; tail -f /var/log/koha/kohadev/*.log
=> FAIL: It fails
3. Grab a bundled version of the API spec from a working Koha
4. (temporarily) tweak V1.pm to point to this file (swagger.json)
5. Repeat 2
=> SUCCESS: Koha works with latests Mojolicious and JSON::Validator

Work is being done on bug 30193 to come up with a reorganized spec that
conforms better to the standard and thus doesn't require step 4.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to