pulibrary/lib_jobs

"processing error" lines should also be skipped for the datasync_processing report

Opened this issue · 1 comments

next if hash[:action] == 'unresolved'

If a record had a "processing error", no 914 field should be generated.

Potential remedy:
To prevent "processing error" lines resulting in an OCLC number of "0", this line should become

next if ['unresolved', 'processing error'].include?(hash[:action])

Sample line that needs to be skipped:
PUL_1012676_1709093491139::bib::5422010|99125445417406421|3585811||processing error