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@lists.koha-community.org Reporter: fridolin.somers@biblibre.com QA Contact: testopia@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.