[Koha-bugs] [Bug 32418] CRASH: Can't call method "unblessed" on an undefined value at cataloguing/additem.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 20 21:34:46 CET 2023


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

--- Comment #28 from Fridolin Somers <fridolin.somers at biblibre.com> ---
(In reply to Fridolin Somers from comment #15)
> Great code Paul ;)
> 
> If I may :
> 
> I didnt saw there is a method output_and_exit_if_error() that manages
> incorrect patron + biblio.
> Maybe it would be nice to move you check on item in it ?
> 
> Is uses include blocking_errors.inc that already contains "unknown_item"
> code, see :
> 
> https://git.koha-community.org/Koha-community/Koha/src/commit/
> 9d6d641d1f8b77271800f43bc027b651f9aea52b/circ/bookcount.pl#L50

Forget about that ;)

The actual code is close to the code in addbiblio.tt that's perfect.

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


More information about the Koha-bugs mailing list