Bug: Preprocessing of articles stops if curation folder does not exist for an article #105
Closed
1 task done
Labels
bug
Something isn't working
Is there an existing issue for this?
Description of the bug
During preprocessing, a check to confirm if a preservation package exists for each item (article version or collection version). For an article, in addition to the JSON metadata hash, this requires calculating the payload size which is the sum of the total size of item files, the size of item UAL_RDM folder in curation staging storage in bytes and the size of the JSON metadata file from Figshare; all in bytes. The UAL_RDM folder is contained in the curation folder of an article version. If the curation folder for an article version does not exist, an exception is thrown and preprocessing does not proceed to other articles.
Fix
Skip the article without a curation folder and log an error.
Steps To Reproduce
The text was updated successfully, but these errors were encountered: