[Koha-bugs] [Bug 30827] New: Autobarcode discards leading zero

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 20 19:08:08 CEST 2022


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

            Bug ID: 30827
           Summary: Autobarcode discards leading zero
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Cataloging
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: andrew at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

If you set autobarcode to "generated in the form 1,2,3," Koha will find the
largest numeric barcode in your system and add 1. However, if your largest
numeric barcode has leading zeros, those will not be maintained in your new
item. So if the current highest barcode is "09000," the next barcode generated
will be "9001."

Apparently we fixed this on bug 5681 way back in 2011, but it has since
regressed.

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


More information about the Koha-bugs mailing list