[Koha-bugs] [Bug 21092] Bad template in patron card creator can cause server issues

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 19 18:28:14 CEST 2018


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

--- Comment #5 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Hi Chris,

was not sure how to report best, so I have created INSERTS of the data with
workbench:

INSERT INTO `creator_layouts`
(`layout_id`,`barcode_type`,`start_label`,`printing_type`,`layout_name`,`guidebox`,`oblique_title`,`font`,`font_size`,`units`,`callnum_split`,`text_justify`,`format_string`,`layout_xml`,`creator`)
VALUES
(20,'CODE39',1,'BAR','Testlayout',0,1,'TR',10,'POINT',0,'L','barcode','<opt
page_side=\"F\" units=\"POINT\">\n  <images name=\"image_1\" Dx=\"72\" Ox=\"0\"
Oy=\"0\" Sx=\"0\" Sy=\"0\" Tx=\"4.5\" Ty=\"63\">\n    <data_source
image_name=\"none\" image_source=\"patronimages\" />\n  </images>\n 
<text><firstname> <surname></text>\n  <text enable=\"1\"
font=\"TR\" font_size=\"10\" llx=\"100\" lly=\"100\" text_alignment=\"L\" />\n 
<text>Bibliothek: <branchcode></text>\n  <text enable=\"1\" font=\"TR\"
font_size=\"10\" llx=\"100\" lly=\"75\" text_alignment=\"L\" />\n 
<text>Ablaufdatum: 31.06.2014</text>\n  <text font=\"TR\" font_size=\"6\"
llx=\"115\" lly=\"65\" text_alignment=\"L\" />\n</opt>\n','Patroncards');


INSERT INTO `creator_templates`
(`template_id`,`profile_id`,`template_code`,`template_desc`,`page_width`,`page_height`,`label_width`,`label_height`,`top_text_margin`,`left_text_margin`,`top_margin`,`left_margin`,`cols`,`rows`,`col_gap`,`row_gap`,`units`,`creator`)
VALUES (24,0,'Testtemplate1','Default
description',0,0,0,0,0,0,0,0,0,0,0,0,'POINT','Patroncards');

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


More information about the Koha-bugs mailing list