https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37478
Bug ID: 37478
Summary: bulkmarcimport.pl can die on bad records
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Command-line Utilities
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]
bulkmarcimport.pl will die on xml parsing errors when trying to convert the
saved metadata (marcxml) back into a MARC::Record object
Two cases we have seen are an invalid characters:
:9: parser error : PCDATA invalid Char value 31
<controlfield tag="003">aPGcC</controlfield>
and invalid/missing subfield:
:91: parser error : attributes construct error
<subfield code=""">Among nineteenth-century women's rights reformers,
Elizab
It turns out MARC::Record can read the incoming file - we can convert it to xml
to save as metadata, but only on trying to create the record out of the xml do
we die.
This may point to a bug in MARC::Record
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/