[Koha-bugs] [Bug 22878] New: cannot add a patron card layout with mysql strict mode on

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 9 16:49:51 CEST 2019


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

            Bug ID: 22878
           Summary: cannot add a patron card layout with mysql strict mode
                    on
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Label/patron card printing
          Assignee: cnighswonger at foundations.edu
          Reporter: wizzyrea at gmail.com
        QA Contact: testopia at bugs.koha-community.org
  Target Milestone: ---

Attempting to create a patron card layout with mysql strict mode on gives the
following error:

DBD::mysql::st execute failed: Incorrect integer value: '' for column
'layout_id' at row 1 [for Statement "INSERT INTO creator_layouts (creator,
layout_id, units, layout_xml, layout_name) VALUES (?,?,?,?,?);" with
ParamValues: 0='Patroncards', 1="", 2="POINT", 3="<opt guide_box="0"
guide_grid="0" page_side="F" units="POINT">
</opt>
", 4="something"] at /kohadevbox/koha/C4/Creators/Layout.pm line 181.
Database returned the following error: Incorrect integer value: '' for column
'layout_id' at row 1 at /kohadevbox/koha/C4/Creators/Layout.pm line 183.

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


More information about the Koha-bugs mailing list