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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 8 18:01:39 CEST 2022


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

Joonas Kylmälä <joonas.kylmala at iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Patch doesn't apply         |Needs Signoff

--- Comment #15 from Joonas Kylmälä <joonas.kylmala at iki.fi> ---
(In reply to Emmanuel Bétemps from comment #13)
> I still can edit existing numbering patterns but if a delete the
> description, an error occurs when I (try to) save :

It's expected, as explained in the second patch's description. This bug is left
to be fixed in bug 31297.

You also quoted in your message the test plan for the first patch btw, in the
first patch's test plan I meant with mandatory that it is mandatory to fill
those to prevent the error. The second plan then concerns the GUI changes, and
it has its own test plan.

> I can't create a new one : 
> 
> C4::Serials::Numberpattern::AddSubscriptionNumberpattern(): DBI Exception:
> DBD::mysql::st execute failed: Incorrect integer value: '' for column
> `koha_test`.`subscription_numberpatterns`.`add2` at row 1 at
> /kohadevbox/koha/serials/subscription-numberpatterns.pl line 70
>  at /usr/share/perl5/DBIx/Class/Exception.pm line 77

Did you remember to run restart_all after applying patches to kohadevbox? This
is the exact error the first patch attached solves.

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


More information about the Koha-bugs mailing list