[Koha-bugs] [Bug 27397] Serials: The description input field when defining numbering patterns is too short

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 18 08:57:00 CET 2021


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

Christian Stelzenmüller <christian.stelzenmueller at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |christian.stelzenmueller at bs
                   |                            |z-bw.de

--- Comment #5 from Christian Stelzenmüller <christian.stelzenmueller at bsz-bw.de> ---
I don't know wheter this has something to do with this patch. I got an error
after klicking on the Save button for saving a new numbering pattern at testing
this patch. 
The description field is indeed longer than before.

First lines of error trace:

C4::Serials::Numberpattern::AddSubscriptionNumberpattern(): DBI Exception:
DBD::mysql::st execute failed: Incorrect integer value: '' for column
`koha_christian8`.`subscription_numberpatterns`.`displayorder` at row 1 [for
Statement "INSERT INTO
subscription_numberpatterns(label,description,numberingmethod,displayorder,label1,label2,label3,add1,add2,add3,every1,every2,every3,setto1,setto2,setto3,whenmorethan1,whenmorethan2,whenmorethan3,numbering1,numbering2,numbering3)
VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)" with ParamValues:
0="blablub", 1="blablubdescription", 2="{X}, H. {Y} {Z} ", 3="", 4="Jahr",
5="Jahrgang", 6="Heft", 7="1", 8="1", 9="1", 10="12", 11="6", 12="1", 13="1",
14="1", 15="1", 16="9999", 17="9999", 18="6", 19="", 20="", 21=""] at
/kohadevbox/koha/serials/subscription-numberpatterns.pl line 62
 at /usr/share/perl5/DBIx/Class/Exception.pm line 77

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


More information about the Koha-bugs mailing list