Open mzelesky opened 9 months ago
https://github.com/pulibrary/lib_jobs/blob/4687deeefebd4956900defac2df3c0061f352696/app/models/oclc/data_sync_processing_file.rb#L28
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
PUL_1012676_1709093491139::bib::5422010|99125445417406421|3585811||processing error
https://github.com/pulibrary/lib_jobs/blob/4687deeefebd4956900defac2df3c0061f352696/app/models/oclc/data_sync_processing_file.rb#L28
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])