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

--- Comment #77 from Lucas Gass (lukeg) <[email protected]> ---
(In reply to Caroline Cyr La Rose from comment #75)
> I think this causes a problem when editing an item type. I was trying to
> make an existing itemtype "bookable" and got the error message "An error
> occurred when updating this item type. Perhaps the value already exists.".
> When I looked into plack-intranet-error.log, it said "[2025/08/21 15:48:59]
> [WARN] DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception:
> DBD::mysql::st execute failed: Column 'checkprevcheckout' cannot be null at
> /kohadevbox/koha/Koha/O    bject.pm line 174"
> 
> If CheckPrevCheckout is set to one of the 'Unless overridden by...' option,
> I can edit and save my itemtype. If CheckPrevCheckout is set to 'Do' or 'Do
> not', I can't edit an itemtype.

This is because when CheckPrevCheckout is softyes of softno the dropdown
appears. When there is no dropdown it tries to save a NULL value which isn't
allowed.

-- 
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