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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

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.
_______________________________________________
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/

Reply via email to