Bug 31344

Summary: autoBarcode not adding barcodes to MARC uploads/imports
Product: Koha Reporter: Daniel Gaghan <daniel.gaghan>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: karie.straube, m.de.rooy
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Daniel Gaghan 2022-08-11 18:14:47 UTC
Neither autoBarcode or barcode.pl are creating false barcodes when uploading new/on-order marc records. This is how I think it should work. 

autoBarcode is set to generate
barcode.pl is set in Marc framework for the 952 subfield 
stage a marc record, ensure the record will add items
upload staged marc
review items on imported records
item barcodes will have autobarcodes and will not be blank
Comment 1 Katrin Fischer 2022-08-11 19:03:50 UTC
This sounds like a great idea for an enhancement, but I think it doesn't qualify as a bug. autoBarcode has always only worked on edit item forms. There is no auto generating on import or batch actions. But there could be.
Comment 2 Daniel Gaghan 2022-08-11 20:10:16 UTC
Ok, then shouldn't barcode.pl in the MARC framework generate the barcode when uploading the MARC?
Comment 3 Katrin Fischer 2022-08-11 20:55:31 UTC
It's basically a cataloging plugin/value builder right now, it just isn't part of its feature set yet.