[Koha-bugs] [Bug 30818] REST API: Why does a wrong column name still cause a general 500 while validating exhaustively?

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 20 12:55:24 CEST 2022


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

--- Comment #4 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Marcel de Rooy from comment #0)
> How is that possible? I stumble over all kinds of validation, extracting and
> merging parameters etc. etc.

As I mentioned on my earlier answer, we shouldn't validate any arbitrary query
contains valid attributes. It is more sustainable to just catch the DBIx::Class
exception and act better.

-- 
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