LP#1798187 - Support CRLF and LF format for item status import files user/stompro/lp1798187-item-status-barcode-import-crlf
authorJosh Stompro <stompro@stompro.org>
Wed, 27 Feb 2019 21:07:43 +0000 (15:07 -0600)
committerJosh Stompro <stompro@stompro.org>
Tue, 12 Mar 2019 18:45:17 +0000 (13:45 -0500)
commit093a4d6e21d575bc1f2dfd3680db7c9e2630eb66
tree8a078bb2ea18d1d0083b3eef33de277ce65918d2
parentbb6495dd8e2e7a8c8cee4577799b14b061261f21
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>
Open-ILS/src/templates/staff/cat/item/index.tt2
Open-ILS/web/js/ui/default/staff/cat/item/app.js