marc export can blow up with bad records
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Undecided
|
Unassigned | ||
2.6 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Evergreen: 2.6.0+
OpenSRF: N/A
Postgres: N/A
GNU/Linux: N/A
Chris Sharp reported in IRC this morning that marc_export can blow up on certain brief records when outputting them as USMARC:
http://
I supplied a quick patch to trap and report the error using an eval block around the MARC::Record-
Chris applied the patch and got output about the offending record and the export continued.
Deciding it was a good idea to add this code to marc_export, and to include similar checks for authority records, and for the output to MARCXML, as well, I made a little branch and opened this bug.
I'll leave it up to others to decide if this is an enhancement or a bug fix that should be backported to 2.6.
Changed in evergreen: | |
status: | New → Confirmed |
milestone: | none → 2.next |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Branch is up: working/ user/drycona/ lp1350345_ marc_export_ eval_checking
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ dyrcona/ lp1350345_ marc_export_ eval_checking