When commiting biblio file from file 7510 (UNIMARC), the commit biblio file hangs because of a Wide Character. In fact, using the commit_biblios_file.pl in command line, the script dies. This patch is using C4::Context->preference('marcflavour') in as_xml It should be tested on a MARC21 installation in order to validate that patch.
Created attachment 7515 [details] [review] proposed patch
Created attachment 7522 [details] [review] proposed patch
Created attachment 7746 [details] [review] Bug 7513 Marc Import Hangs On some record, the commit_biblio_file is creating wide character because as_xml is not used with correct parameter. This patch fixes that. To test on a UNIMARC Koha, stage attachment 7510 [details] and then import. It hangs before the patch, it passes after. Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
QA comment: * tiny patch (2 lines) * fixes a critical problem for UNIMARC users, updating severity
This patch will be included in the forthcoming 3.6.5 release (no string changes).
Looking at the patch - wonder if it should go into 3.8.x too?
It already is, it was pushed to master before 3.8.0 was released