[Koha-bugs] [Bug 30409] New: barcodedecode() should always trim barcode

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 30 15:03:34 CEST 2022


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

            Bug ID: 30409
           Summary: barcodedecode() should always trim barcode
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: fridolin.somers at biblibre.com
        QA Contact: testopia at bugs.koha-community.org

Items barcode has a UNIQ constraint in database, but when there are trailling
spaces its is not considered has a duplicate.
Since we trim spaces the barcode in input of checkout/checkin whe should also
trim in barcodedecode() so in any barcode creation/edition.

-- 
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