http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14463 Bug ID: 14463 Summary: Setting autobarcode to <branch>yymm00001 exports blank barcode labels Change sponsored?: --- Product: Koha Version: 3.20 Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5 - low Component: Label/patron card printing Assignee: cnighswonger@foundations.edu Reporter: okay7675@gmail.com QA Contact: testopia@bugs.koha-community.org Created attachment 40640 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40640&action=edit Sample of pdf output when autobarcode is set to "<branch>yymm00001" Overview: Setting the autobarcode preference in Administration to generate barcodes in the form "<branch>yymm00001" exports blank barcode labels in the Label Creator (it prints out the digit/letters but not the barcode lines) Steps to Reproduce 1. Set barcode preference under Administration > Cataloging > Record Structure
autobarcode > Barcodes are generated in the form "<branch>yymm00001"
2. Add items with barcodes generated using the preference above to a batch under Tools > Label Creator and export batch 3. Select any template and layout and export 4. Download as PDF and open resulting file Actual Results The resulting pdf contains all the bibliographic and barcode (digits and letters) information but not the actual barcode lines. See attachment labelled "Labels without barcode" The intranet error log (/var/log/koha/instancename/intranet-error.log) of the Koha instance produces the following error results: [Thu Jun 25 15:24:52.560515 2015] [cgi:error] [pid 14148] [client 197.221.240.195:38832] AH01215: [Thu Jun 25 21:24:52 2015] label-create-pdf.pl: Use of uninitialized value in -e at /usr/share/koha/lib/C4/Creators/PDF.pm line 226., referer: http://staffdemo.muhachabooks.com/cgi-bin/koha/labels/label-print.pl [Thu Jun 25 15:24:52.560758 2015] [cgi:error] [pid 14148] [client 197.221.240.195:38832] AH01215: [Thu Jun 25 21:24:52 2015] label-create-pdf.pl: ERROR in koha-conf.xml -- missing <font type="Ft2">/path/to/font.ttf</font> at /usr/share/koha/lib/C4/Creators/PDF.pm line 229., referer: http://staffdemo.muhachabooks.com/cgi-bin/koha/labels/label-print.pl [Thu Jun 25 15:24:52.578821 2015] [cgi:error] [pid 14148] [client 197.221.240.195:38832] AH01215: [Thu Jun 25 21:24:52 2015] label-create-pdf.pl: Use of uninitialized value in -e at /usr/share/koha/lib/C4/Creators/PDF.pm line 226., referer: http://staffdemo.muhachabooks.com/cgi-bin/koha/labels/label-print.pl [Thu Jun 25 15:24:52.579064 2015] [cgi:error] [pid 14148] [client 197.221.240.195:38832] AH01215: [Thu Jun 25 21:24:52 2015] label-create-pdf.pl: ERROR in koha-conf.xml -- missing <font type="Ft2">/path/to/font.ttf</font> at /usr/share/koha /lib/C4/Creators/PDF.pm line 229., referer: http://staffdemo.muhachabooks.com/cgi-bin/koha/labels/label-print.pl Expected Results: Exported pdf labels should include all bibliographic and barcode data, including actual barcode lines. Setting the autobarcode preference to generate in the form <year>-0001, <year>-0002 results in all the data, including barcode lines, being generated and printed. Build Date and Hardware: Occurred in both Koha 3.18 and 3.20 running on Ubuntu Server 14.04 (both on a vps and dedicated server) Additional Information: I'm running a Koha install with multiple instances. Error occurs in the one instance that has autobarcode generating in <branchcode>yymm0001 and not in the other instances where it is set to generate in <year>-0001, <year>-0002 This is my first time posting a bug, please do forgive me if i've broken any bug writing guidelines :) I'm not sure what severity level to give the bug so i left it at the default. Kind regards, Lennon Mazonde -- You are receiving this mail because: You are watching all bug changes.