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

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