Bug 38318

Summary: Trim spaces from biblionumber files for export tool
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: ToolsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Andrew Fuerste-Henry 2024-10-31 19:03:15 UTC
When using the export tool, one can upload a text file of biblionumbers. We should trim spaces from that file, if there are any, because otherwise it breaks.

There are other places where we allow similar uploads (like inventory) and those should also get trimmed, but maybe not all in one bug.
Comment 1 Katrin Fischer 2024-11-01 08:14:16 UTC
We probably need to be a bit careful when trimming, as whitespace can also be used as a separator in some places (see BarcodeSeparators system preference)