Summary: | Fix encoding in data exports | ||
---|---|---|---|
Product: | Koha | Reporter: | Frédéric Demians <f.demians> |
Component: | Tools | Assignee: | Frédéric Demians <f.demians> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | major | ||
Priority: | P5 - low | CC: | chris, tomascohen |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: |
Bug 14592 Export data bad encoding
[SIGNED OFF] Bug 14592: Export data bad encoding [PASSED QA] Bug 14592: Export data bad encoding |
Description
Frédéric Demians
2015-07-23 07:43:47 UTC
Created attachment 41129 [details] [review] Bug 14592 Export data bad encoding Tools > Export data produces a file badly encoded, when marc/xml file format is chosen. It works with CSV. To test: 1. Tools > Export data 2. Choose a limited interval of biblionumber 3. Export in marc/xml/csv. 4. Check files exported at 3: csv file is ok. marc/xml files are corrupted, ie badly encoded. 5. Apply the patch 6. Repeat steps 3&4, and confirm that all file formats are valid. Created attachment 41465 [details] [review] [SIGNED OFF] Bug 14592: Export data bad encoding Tools > Export data produces a file badly encoded, when marc/xml file format is chosen. It works with CSV. To test: 1. Tools > Export data 2. Choose a limited interval of biblionumber 3. Export in marc/xml/csv. 4. Check files exported at 3: csv file is ok. marc/xml files are corrupted, ie badly encoded. 5. Apply the patch 6. Repeat steps 3&4, and confirm that all file formats are valid. Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar> Good catch Frederic. Even if the patch is trivial, I find the problem a big deal, libraries here are used to export their catalogs for sending to union catalogs and this bug is really nasty for them. Created attachment 41514 [details] [review] [PASSED QA] Bug 14592: Export data bad encoding Tools > Export data produces a file badly encoded, when marc/xml file format is chosen. It works with CSV. To test: 1. Tools > Export data 2. Choose a limited interval of biblionumber 3. Export in marc/xml/csv. 4. Check files exported at 3: csv file is ok. marc/xml files are corrupted, ie badly encoded. 5. Apply the patch 6. Repeat steps 3&4, and confirm that all file formats are valid. Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Patch pushed to master. Thanks Frederic! Pushed to 3.20.x will be in 3.20.3 |