[Koha-bugs] [Bug 25504] Wrong API spec breaks plack without meaningful error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 18 08:07:20 CEST 2020


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

--- Comment #13 from Ere Maijala <ere.maijala at helsinki.fi> ---
I'll take a look. I can't see right away how Bug 24700 broke this, since the
try block is just trying to take a shortcut, and if validation fails, it should
do the very same as before the patch. I'm probably missing a detail here, but
I'll try with D10 to see what happens.

Letting it crash with the failed bundle might be confusing since the result is
an amalgamation of the basic spec and any REST plugins. That's why it's
swallowed and the one-by-one validation takes place in the catch block.

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


More information about the Koha-bugs mailing list