]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP 1502156: Fix marc_export error when dumping authorities.
authorJason Stephenson <jstephenson@mvlc.org>
Fri, 2 Oct 2015 14:17:09 +0000 (10:17 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 2 Oct 2015 18:15:36 +0000 (18:15 +0000)
commit885758d109d54169c5fa0d9a8c738f634b2a406b
tree9bfa085daf0bef772da0ffabfdd6f7e75340dee0
parentc11b12cbcc9ad694d7c95ced44d7c1babfe6c023
LP 1502156: Fix marc_export error when dumping authorities.

There is a chance that marc_export will attempt to call a nonexistent
field on MARC::Record if an error occurs while exporting authority
records.  The bug could only be triggered if a conversion error
occurred while exporting the authority as either MARCXML or USMARC.

The fix is to rename a couple of variables in the Marque::Authority->next
method to be more like those used in Marque::Biblio->next.  This will have
the side effect of making marc_export easier to maintain, since the
variables used in one method will now have the same meaning as those
in the other.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/support-scripts/marc_export.in