]> git.koha-community.org Git - koha.git/commit
Bug 23251: Correct formatting of IMD data ending in apostrophe
authorColin Campbell <colin.campbell@ptfs-europe.com>
Tue, 2 Jul 2019 09:58:41 +0000 (10:58 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Sat, 31 Aug 2019 04:49:44 +0000 (04:49 +0000)
commitcf43db0a224aa852cb85f240243d4293256b5ce0
tree1b0c5536bf7220d1417b088e09e37e95f6702ec7
parent23130a90ed8a8dfded93bf393e3b29001c73dd19
Bug 23251: Correct formatting of IMD data ending in apostrophe

IMD text data may end in an apostrophe (e.g. dreamin' )
This was causing the segment to be incorrectly formatted
as only the last character was checked, not the preceding
character to check whether it was quoted

add a test for this specific occurence

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 0c4112a200bfdcdbdba4ce7870aeced1f960cfd9)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit d991ffdbee43984a592645a1b5624007bef96679)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/Edifact/Order.pm
t/Ediorder.t