Bug 18092 - Serial Enumeration (enumchron) truncated to 2 characters in by label creator
Summary: Serial Enumeration (enumchron) truncated to 2 characters in by label creator
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Label/patron card printing (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Chris Nighswonger
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-09 22:21 UTC by Barton Chittenden
Modified: 2020-01-11 23:55 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
example bib with 2 items. (3.40 KB, text/plain)
2017-02-09 22:21 UTC, Barton Chittenden
Details
exported csv (enumchron is not truncated) (30 bytes, text/csv)
2017-02-09 22:22 UTC, Barton Chittenden
Details
Exported pdf (enumchron is truncated) (862 bytes, application/pdf)
2017-02-09 22:23 UTC, Barton Chittenden
Details
screenshot of the layout page. (41.95 KB, image/jpeg)
2020-01-08 21:10 UTC, Courtenay Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Barton Chittenden 2017-02-09 22:21:44 UTC
Created attachment 60095 [details]
example bib with 2 items.

When printing a spine label where the layout includes 'enumchron' in the fields to print, that field is truncated to a width of two characters in the PDF export. The field shows in its entirety in the CSV export.

For example the serial enumeration 'Discs 17 & 18' is truncated to 'Di'.

To replicate:

Set up Layout koha-spine

Layout name        : koha-spine
barcode type       : Code 39
layout type        : Biblio
Data fields        : 952a, itemcallnumber, enumchron
Draw guide boxes   : True
Split call numbers : True
Text justification : Left
Font               : Times-Roman
Font size          : 10
Oblique title      : True

Set template Avery 5460 spine labels

Template code       : Avery 5460 spine labels
Units               : Si Centimeters
Page height         : 28
Page width          : 21.5
Label width         : 2.1
Label height        : 3
Top page margin     : 1.2
Left page margin    : 0.8
Top text margin     : 0.52
Left text margin    : 0.52
Number of columns   : 8
Number of rows      : 8
Gap between columns : 0.44
Gap between rows    : 0.2
Profile             : none

Set up batch using item that has enumchron wider than 2 characters (I've attached a sample marc record)

Export using the layout and template above.

See that the serial enumeration is truncated.
Comment 1 Barton Chittenden 2017-02-09 22:22:42 UTC
Created attachment 60096 [details]
exported csv (enumchron is not truncated)
Comment 2 Barton Chittenden 2017-02-09 22:23:15 UTC
Created attachment 60097 [details]
Exported pdf (enumchron is truncated)
Comment 3 Courtenay Johnson 2020-01-08 21:10:04 UTC
Created attachment 97057 [details]
screenshot of the layout page.
Comment 4 Courtenay Johnson 2020-01-08 21:15:03 UTC
I found that many fields, all that I tried except for the callnumber are truncated to 2 characters in version 18.11 and I export the PDF. Therefore I consider spine label printing to be broken for my purpose of printing 3 lines in total on the label, with two of those lines split, (which does work).
I have attacwehed a screenshot of my layour. This is a test case where I picked many fileds to print and all but one are truncated.