[Bug 33678] New: Saving new numbering pattern crashes on missing description
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33678 Bug ID: 33678 Summary: Saving new numbering pattern crashes on missing description Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Serials Assignee: koha-bugs@lists.koha-community.org Reporter: m.de.rooy@rijksmuseum.nl QA Contact: testopia@bugs.koha-community.org Save as new pattern generates a 500 when I change advanced pattern and save GET https://SERVER/cgi-bin/koha/serials/create-numberpattern.pl?patternname=vol_no_week&numberingmethod=Vol. {X}, No. {Y}&label1=Volume&label2=Number&add1=1&add2=1&every1=12&every2=1&setto1=1&setto2=1&whenmorethan1=99999&whenmorethan2=52 [HTTP/1.1 500 Internal Server Error 64ms] C4::Serials::Numberpattern::AddSubscriptionNumberpattern(): DBI Exception: DBD::mysql::st execute failed: Field 'description' doesn't have a default value at /usr/share/koha/serials/create-numberpattern.pl line 58 at /usr/share/perl5/DBIx/Class/Exception.pm line 77 DBIx::Class::Exception::throw('DBIx::Class::Exception', 'DBI Exception: DBD::mysql::st execute failed: Field \'description\' doesn\'t have a default value', 0) called at /usr/share/perl5/DBIx/Class/Schema.pm line 1118 Keywords for searching: saveAdvancedPattern #saveadvancedpatternbutton Reproduce by changing number pattern of saved subscription and trying to Save the new numbering pattern. This is an ajax call. You see 500 in the console. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33678 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=32392 -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33678 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE CC| |jonathan.druart+koha@gmail. | |com Status|NEW |RESOLVED --- Comment #1 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- *** This bug has been marked as a duplicate of bug 28012 *** -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org