https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22833
--- Comment #16 from Magnus Enger <[email protected]> --- (In reply to Stina Hallin from comment #15) > Tried the patsch again and got this plack error message when I unchecked the > box: > > DBD::mysql::st execute failed: Column 'can_cancel_hold' cannot be null [for > Statement "UPDATE `itemtypes` SET `can_cancel_hold` = ?, `can_suspend_hold` > = ?, `defaultreplacecost` = ?, `processfee` = ? WHERE ( `itemtype` = ? )" > with ParamValues: 0=undef, 1=undef, 2=undef, 3=undef, 4='BK'] at > /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1836. > > When I tried to uncheck the boxes Koha gave me this message: > > An error occurred when updating this item type. Perhaps the value already > exists. Weird. It still works for me. And I double checked that the database is getting updated as it should. Some sources of error I can think of: - Testing with Swedish as the active language in the staff client, without updating the templates (but then you should not see the checkboxes for "Hold can be suspended/cancelled in OPAC", I guess - The db update did not succeed completely. Could you paste the output of "describe itemtypes;" here? -- 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/
