https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34157
--- Comment #7 from Matthias Le Gac <[email protected]> --- Created attachment 162282 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=162282&action=edit Bug 34157: Exporting labels as a barcode range can cause 500 error The layout option 'bibliographic data precedes barcode' appears to rely on itemnumber, which it isn't ideal when printing a barcode range. Before the test Layout - Add a new layout including free text - choose layout type: 'bibliographic data precedes barcode' - Add text between quotation marks in the list fields (e.g. 'Centrale library') - Save Itemnumber check - Find your database max(itemnumber) Barcode check - Find a barcode range 1 that is not currently in your database notes: max(barcode) can be a good start. This range should be smaller < than max(itemnumber) - Find another barcode range 2 that is not currently in your database This second range of numbers should be larger > than max(itemnumber) Test plan 1. In Label creator > Add > Barcode range 2. Enter your barcode range 1; the one smaller < max(itemnumber) 3. Click on "Print range" 4. Choose the layout from above 5. Click on "Export" 6. View the pdf --> ok, Koha is printing text on each label 7. Redo steps 2 to 3 with the barcode range 2; the one larger > max(itemnumber) 8. Select the DEFAULT layout 9. Check the pdf --> Koha generate all barcodes correctly 10. Keep your barcode range 2 and redo steps 2 to 3, but... 11. Select the layout with text previously added 12. Check the pdf --> Koha open up a 500 error page or empty page 13. apply the patch 14. Perform the same steps as before, but this time without encountering any errors. Koha is printing text on each label during step 12. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
