https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43437 Bug ID: 43437 Summary: Barcode range printing fails with 500 error when layout contains bibliographic data Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Label/patron card printing Assignee: Laura.escamilla@bywatersolutions.com Reporter: Laura.escamilla@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org Target Milestone: --- To reproduce 1. Go to Tools > Label creator > Manage > Layouts. 2. Create or edit a label layout. 3. Set "Choose layout type" to "Bibliographic data precedes barcode" (BIBBAR). 4. Configure the bibliographic data to include a MARC field, for example 245a. 5. Save the layout. 6. Go to Tools > Label creator > New > Barcode range. 7. Enter the barcode of an existing item in both the "From" and "To" fields. 8. Click "Print range." 9. Select a template and the BIBBAR layout created above. 10. Click "Export." 11. Click "Download as PDF." ==> An Error 500 is returned. The logs contain: Can't call method "field" on an undefined value at C4/Labels/Label.pm line 180. The same barcode range can be exported successfully when using a layout which does not require bibliographic data. -- You are receiving this mail because: You are watching all bug changes.