[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:58:00 CEST 2018


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

--- Comment #31 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
This approach scares me I'm afraid.. it feels like we're hiding errors that
really ought to be getting thrown up to the callers and for developers to make
informed decisions.

Falling back to a 'create time' default feels bad.. if a field should be
getting passed from a caller then we should be validating that it is and
passing back an error to the caller if it is not to give the developer a chance
of making an informed decision and passing the right data in the caller.

Just my two pence.

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


More information about the Koha-bugs mailing list