[Koha-bugs] [Bug 28012] Error on saving new numbering pattern

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Dec 24 21:29:58 CET 2022


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

--- Comment #23 from Joonas Kylmälä <joonas.kylmala at iki.fi> ---
(In reply to Kyle M Hall from comment #22)
> I cannot leave description empty:
> C4::Serials::Numberpattern::AddSubscriptionNumberpattern(): DBI Exception:
> DBD::mysql::st execute failed: Column 'description' cannot be null at
> /kohadevbox/koha/serials/subscription-numberpatterns.pl line 73
>  at /usr/share/perl5/DBIx/Class/Exception.pm line 77

See the explanation in the patch "Creating numbering pattern: mark mandatory
fields required":

[...]
Note that there is a plan to make description field optional, so even
if it currently is mandatory on the DB level we leave it optional
here (and due to people using production DB's in non-strict mode which
allows this to be optional). 
[...]

Also, I believe this was discussed with Katrin in this bug report as well.

> 
> "Display order" should be set to only allow integer inputs.

It will be a separate patch I believe, would it be possible for someone to add
a new patch here or submit it in a separate report? I don't have koha
development environment set up anymore unfortunately.

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


More information about the Koha-bugs mailing list