Bug 31241 - PDF export of ANY label is NOT functioning.
Summary: PDF export of ANY label is NOT functioning.
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Label/patron card printing (show other bugs)
Version: 22.05
Hardware: All All
: P5 - low normal
Assignee: Chris Nighswonger
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-26 23:41 UTC by stdominic.novices
Modified: 2023-06-30 19:50 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:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stdominic.novices 2022-07-26 23:41:41 UTC
I've been experimenting and no label type of any kind works when exported as a pdf. Either it is completely jumbled or massive amounts of the data are missing. I've tried batch and selected exporting, redoing the layouts and templates. This is for Patron, barcode, and spine label. I have a similar bug concerning the spine label, but this seems to be a more widespread problem than I first thought. If I try to export a singly selected or any other number that is not the full batch I get an Error 500 message, and if it's the full bath the label is garbled. Thanks for your time looking into this!
Comment 1 Manos PETRIDIS 2022-11-01 16:55:31 UTC
Does the error persist?
Comment 2 Katrin Fischer 2022-11-16 23:18:00 UTC
I just tested on master and could print labels with different layouts without problems, selected and full batch. I think we will definitely need more information on the configuration. In the label module often a specific setting can cause an issue.
Comment 3 Manos PETRIDIS 2023-03-07 16:45:59 UTC
Does the labels module keep an error log so that one may know what happens and try and debug the black box?
Comment 4 Heather 2023-06-28 17:48:49 UTC
We were just upgraded to Koha 22.11.06 and we're having this problem (with Edge 114.0.1823.58 and with Chrome 114.0.5735.135) when trying to download the .pdf for a barcode label range/batch.  I'm hoping very much it gets fixed--I can't catalog anything or receive any periodicals if I can't print barcodes!!

--h2
Comment 5 Lucas Gass 2023-06-29 18:31:37 UTC
I am not sure if everyone is experiencing the same problem. I have filed Bug 34157 on a more specific issue.
Comment 6 Katrin Fischer 2023-06-30 17:59:56 UTC
I just tested the table printing in 22.11.05 both for patron records and barcode labels and they both printed ok. I am wondering what the issue could be. 

It makes me think it could be either a configuration or a server setup issue.

Heather and Manos, when you open the downloaded PDF in a text editor, is there any error printed inside?
Comment 7 Heather 2023-06-30 18:48:06 UTC
Hi, Katrin!  My issue is clearly bug 34157--my settings were on "Bibliographic data precedes barcode" for my barcode range, and when I changed that to print the barcode only, everything worked.  (It was like that because I was experimenting with trying to get the library name printing on the barcode, then I found out about bug 31507, and hadn't changed the setting back.)

I'm not sure if this is the same problem that stdominic.novices was having!
--h2
Comment 8 Katrin Fischer 2023-06-30 19:50:52 UTC
Thank you for the feedback Heather!