LP#1798187 - Support CRLF and LF format for item status import files
authorJosh Stompro <stompro@stompro.org>
Wed, 27 Feb 2019 21:07:43 +0000 (15:07 -0600)
committerJane Sandberg <sandbej@linnbenton.edu>
Tue, 30 Jul 2019 23:34:27 +0000 (16:34 -0700)
commitc3d7726e56bf9de793e123056be61659a74e289f
tree9bdf4f8827cbcdb20828108ede49cd9f0d065332
parent05d0cda2a1c36ffbcccc7dee5c610f821429613e
LP#1798187 - Support CRLF and LF format for item status import files

Testing Plan:

Before patch, try to import a file in CRLF end of line format that includes
leading and trailing spaces, empty lines, lines of just spaces or
barcodes with spaces.  The import will fail to load those items and will
stop processing when it hits certain situations.

After patch, try to import a file in CRLF EOL format that includes barcodes
with trailing spaces, leading spaces, barcodes with spaces, and/or
empty lines.  The import will load all barcodes.

Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/templates/staff/cat/item/index.tt2
Open-ILS/web/js/ui/default/staff/cat/item/app.js