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

--- Comment #33 from Martin Renvoize <[email protected]> ---
I should note.. my final patch there is an alternative to all that preceded
it.. the idea being that we throw an exception and thus force developers to
consider their unblessed uses and call get_from_storage appropriately
themselves.

No.. it does NOT fix the specific issue here.. but rather catches it so we can
fix it in all the right locations methodically and prevent future occurrences
from coming up..

I think this would be very helpful for spotting the exact same case that comes
up in API responses as well as logging.. and perhaps some template issues too
as we seem to call unblessed a fair bit in controller code (in a lot of cases I
think needlessly).

I'd be tempted to push my version for the beginning of next cycle to catch the
errant cases it's bound to surface.. and push Peter's this cycle for just this
branch as a temporary middle step for the next stable.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to