Bug 27517

Summary: Cannot add printer profile in strict mode
Product: Koha Reporter: Nick Clemens <nick>
Component: ToolsAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: jonathan.druart
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Nick Clemens 2021-01-21 19:49:16 UTC
[2021/01/21 19:43:02] [WARN] DBD::mysql::st execute failed: Incorrect integer value: '' for column 'template_id' at row 1 [for Statement "INSERT INTO printers_profile (offset_vert, paper_bin, offset_horz, template_id, creator, units, creep_horz, creep_vert, printer_name) VALUES (?,?,?,?,?,?,?,?,?);" with ParamValues: 0="1", 1="3", 2="1", 3='', 4='Labels', 5="POINT", 6=0, 7=0, 8="Brother"] at /kohadevbox/koha/C4/Creators/Profile.pm line 162.
[2021/01/21 19:43:02] [WARN] Database returned the following error on attempted INSERT: Incorrect integer value: '' for column 'template_id' at row 1 at /kohadevbox/koha/C4/Creators/Profile.pm line 164.
Comment 1 Jonathan Druart 2021-01-27 08:59:09 UTC

*** This bug has been marked as a duplicate of bug 24001 ***