Closed CaptSolo closed 6 years ago
I found a workaround that worked in the Catmandu::MARC version supplied with the latest Docker image - to use marc_spec() instead of marc_map().
Unfortunately this does not work with more recent Catmandu::MARC versions (1.161, 1.17).
This should be solved for marc_map
in 1.17
marc_map(008/33,z) # z => 0
@cKlee Can you take a look at this for marc_spec
case?
@phochste : just re-checked this issue in 1.17:
marc_map()
= OKmarc_spec()
= does not workVersion: 1.171 on its way to CPAN
Problem: marc_map("008/33", ...) does not return a value if the character at this position is "0".
Data:
Fixes tried:
Result: no value in "lit_form" (but the value from another position - 32 - is read OK):
If the character @ pos 33 is changed to another value (e.g. "f") the value is read OK: