]> git.koha-community.org Git - koha.git/commit
Bug 27569: Fix CSV export for biblio frameworks
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 1 Feb 2021 13:50:52 +0000 (14:50 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 16 Feb 2021 09:22:13 +0000 (10:22 +0100)
commitad5de74cbc43e500c34ae6fa50958c6848d1586f
tree04926ed9373e7df8c02fae6c3ffa040d7ea2ca52
parent7c11f056268195bac6c660182db97d4f2684b50a
Bug 27569: Fix CSV export for biblio frameworks

The CSV import of the biblio frameworks is broken.
A change in LibreOffice resulted in CSV not formatted how the
C4::ImportExportFramework code is expected.
This code is quite broken, it expects all the CSV cells to be quoted.

The "add tests" patch shows the different between what we expected
before this patch, and what is the new version generated by LibreOffice.

Test plan:
Export a biblio framework in CSV
Open it with LibreOffice and save it undef a different name
Create a new biblio framework and use the new file to construct it
Compare the 2 frameworks and make sure they are identical

Signed-off-by: Ron Houk <rhouk@ottumwapubliclibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/ImportExportFramework.pm