Hard return in file can negatively impact item status import
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Hard return in file can negatively impact item status import
If a text file contains a hard return with no accompanying data in the same line within the list of barcodes, the import stops at that hard return. For example, if my file is:
50723000443123
50723010107874
50723010116834
50723000013827
50723010092811
50723010155386
¶
50723010108526
50723010005771
50723010075246
50723010117113
50723010068936
50723010106645
50723010100432
50723010100184
50723010065775
The file loads into item status from the bottom up and stops at the hard return, loading only 9 items rather than the 15 in the file.
If the hard return is at the end of the file, the file fails silently.
50723000443123
50723010107874
50723010116834
50723000013827
50723010092811
50723010155386
50723010108526
50723010005771
50723010075246
50723010117113
50723010068936
50723010106645
50723010100432
50723010100184
50723010065775
¶
Having the “empty” hard return at the beginning of the file does not negatively impact the import.
Confirmed on recent-ish master