[Koha-bugs] [Bug 21610] Koha::Object->store needs to handle incorrect values

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 23 15:57:17 CEST 2018


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

--- Comment #30 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Tomás Cohen Arazi from comment #29)
> (In reply to Jonathan Druart from comment #28)
> > (In reply to Tomás Cohen Arazi from comment #26)
> > > I feel like (overall) I don't agree with the approach (the general one, or
> > > the various fixes on the Koha:: namespace that have been pushed to master).
> > > DBIC should explode, we should catch the explosion and handle that
> > > correctly. Or maybe I'm missing something else.
> > 
> > No, you do not want to deal with "" in .pl scripts, really.
> 
> Maybe, but I would love the API to return 400 bad request if someone sends
> "" when it shouldn't. And this should come from the object class.

Mm, the OpenAPI validator would take care if our specs are correct...

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


More information about the Koha-bugs mailing list