[Koha-bugs] [Bug 21142] New: Batch item modification tool is corrupted by BOM (byte order mark) in the uploaded file

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 1 21:52:59 CEST 2018


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

            Bug ID: 21142
           Summary: Batch item modification tool is corrupted by BOM (byte
                    order mark) in the uploaded file
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Tools
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: victor.grousset at biblibre.com
        QA Contact: testopia at bugs.koha-community.org

It also affects "Item number files" which triggers bug 21141
But it's easier to test with barcodes. And the fix should be the same.

== Test plan ==
1. Go to Staff › Tools › Batch item modification
2. Upload the file from the attachments (see next comments) named
numbers-without-BOM.csv
3. See that it complains about non existing barcodes but the codes look ok
4. Upload the file from the attachments named numbers-with-BOM.csv
5. See that the first line is corrupted.
   Something like "3131545845784555"


If you don't know how to check that my test files are correct.
On a Unix-like system do:
file numbers-with-BOM.csv
file numbers-without-BOM.csv
less numbers-with-BOM.csv
less numbers-without-BOM.csv

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


More information about the Koha-bugs mailing list