[Koha-bugs] [Bug 31259] Downloading patron card PDF hangs the server
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 23 13:57:01 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31259
--- Comment #13 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 145571
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=145571&action=edit
Bug 31259: Escape infinite loop when lime cannot wrap enough
It seems the wrapping here works with words, not characters. If a line is too
long,
or too far over, we can't trim it enough. We need to escape if successive loops
are
not changing the line
To test:
1 - Using sample data, edit the layout to match picture in comment 9
2 - Add some borrowers to a batch
3 - Attempt to export batch and save PDF
4 - Staff client waits
5 - ps aux | grep card
6 - Note the job keeps running
7 - Kill it
8 - Apply patch
9 - Restart_all
10 - Export batch again
11 - Success, you get a badly formatted PDF, rather than nothing
12 - Note the PDF does not show "Yakama Nation Library"
13 - Edit layout, male "Lower left X" 20 instead of 220
14 - Export again and note text field 1 shows correctly
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list