[Koha-bugs] [Bug 34157] Exporting labels as a barcode range can cause 500 error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 8 18:37:42 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34157

--- Comment #6 from Marie-Luce Laflamme <marie-luce.laflamme at inlibro.com> ---
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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list