[Koha-bugs] [Bug 31297] New: Cannot add new subscription patterns from edit subscription page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 5 15:16:46 CEST 2022


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

            Bug ID: 31297
           Summary: Cannot add new subscription patterns from edit
                    subscription page
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Serials
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: katrin.fischer at bsz-bw.de
        QA Contact: testopia at bugs.koha-community.org

When adding a new subscription pattern from the edit subscription page, nothing
happens when clicking on the bug. But we can see the following error from the
API request:

XHRGEThttp://localhost:8081/cgi-bin/koha/serials/create-numberpattern.pl?patternname=Test
season with month&numberingmethod={X} {Y}
{Z}&label1=Season&label2=Year&label3=Month&add1=1&add2=1&add3=1&every1=1&every2=4&every3=4&setto1=0&setto2=1&setto3=0&numbering1=season&numbering3=monthname&whenmorethan1=3&whenmorethan2=99999&whenmorethan3=11&locale=spa
[HTTP/1.1 500 Internal Server Error 27ms]

C4::Serials::Numberpattern::AddSubscriptionNumberpattern(): DBI Exception:
DBD::mysql::st execute failed: Field 'description' doesn't have a default value
at /kohadevbox/koha/serials/create-numberpattern.pl line 58

description is a field in the database, that can only be filled from the
administration page for numbering patterns, but not from this screen. This has
always been the case.

Could this by a strict SQL error?

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


More information about the Koha-bugs mailing list