[Koha-bugs] [Bug 13116] Make it possible to propagate errors from C4::Reserves::CanItemBeReserved() to the web-templates.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 24 17:18:08 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13116

--- Comment #11 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
(In reply to Owen Leonard from comment #10)
> Does this duplicate some or all of Bug 11999?

Yes it does. My feature propagates the error codes from CanItemBeReserved
through CanBookBeReserved resulting in more error handling options in the
templates.

I went through the Bug 11999 and it is up to preference which one should make
it. I can easily refactor my feature chain to support Bug 11999, but I insist
that all error handling should be centralized to the CanBook/ItemBeReserved
instead of getting scattered all around scripts and modules.

This means CanBookBeReserved should somehow propagate the errors collected at
CanItemBeReserved(). I think Bug 11999 has the right base for it.

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


More information about the Koha-bugs mailing list