[Koha-bugs] [Bug 27866] New: cannot create new printer profiles

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 4 17:26:57 CET 2021


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

            Bug ID: 27866
           Summary: cannot create new printer profiles
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Tools
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: lucas at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

to recerate:

-go to Home › Tools › Label creator › Profiles › New printer profile
(/cgi-bin/koha/labels/label-edit-profile.pl?op=new)
-attempt to save a new printer profile
-get an error


C4::Creators::Profile::save(): DBI Exception: DBD::mysql::st execute failed:
Incorrect integer value: '' for column 'template_id' at row 1 [for Statement
"INSERT INTO printers_profile (printer_name, offset_vert, creep_vert,
paper_bin, template_id, creep_horz, units, creator, offset_horz) VALUES
(?,?,?,?,?,?,?,?,?);" with ParamValues: 0="e", 1=0, 2=0, 3="e", 4='', 5=0,
6="MM", 7='Labels', 8=0] at /kohadevbox/koha/C4/Labels/Profile.pm line 23
 at /usr/share/perl5/DBIx/Class/Exception.pm line 77

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