Bug 41765

Summary: Autobarcode incremental barcodes are generated with +7 value instead of +1 value
Product: Koha Reporter: Pavel Sereda <talsisunstorm>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: m.de.rooy
Version: 25.11   
Hardware: PC   
OS: Linux   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Sequenve of generated barcodes of added items

Description Pavel Sereda 2026-02-04 09:04:01 UTC
Created attachment 192439 [details]
Sequenve of generated barcodes of added items

After updating to v25.11 (from v24.11), the autoBarcode feature generates number with incremental value of +7 and not +1 as expected (see attachment). In v24.11 this worked fine.

How to reproduce:
1. set autoBarcode to incremental EAN-13 barcodes in Cataloging preferences -> Record structure
2. set barcode.pl as plugin in Tag 952p in MARC bibliographic framework
3. create new or open existing record
4. add new item
5. click into p - Barcode field to generate barcode
6. repeat step 4 & 5