[Koha-bugs] [Bug 19585] Inventory: Allow additional separators in a barcode file

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 13 12:13:27 CET 2017


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #69117|0                           |1
        is obsolete|                            |

--- Comment #3 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 69118
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69118&action=edit
Bug 19585: Inventory: Allow additional separators in a barcode file

This patch makes \n, \r, |, comma and semicolon all valid separators
between barcodes passed to inventory.
An additional grep removes empty barcodes. (Note: The grep looks for at
least one non-whitespace character. We could be more specific, but this
allows for more flexibility like testing with alphanumeric barcodes etc.)

Test plan:
Upload a barcode file that contains various allowed separators.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

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


More information about the Koha-bugs mailing list