Auto archive running when not set
Observed on Kotahidev: All unsubmitted manuscripts are archived, with updated
date of 10am today UTC. These include manuscripts that had only just been uploaded. The AUTO_IMPORT_HOUR_UTC
is 10am and ARCHIVE_PERIOD_DAYS
is not set.
It appears that auto-archiving is archiving manuscripts even when ARCHIVE_PERIOD_DAYS
is not set, and furthermore, it's treating the period as 0; that is, it archives all unsubmitted manuscripts no matter how recent, each day at the allotted hour. We should ensure that archiving only occurs if ARCHIVE_PERIOD_DAYS
has a positive numeric value.
Another minor point to note is that some of these manuscripts must have been previously archived, yet their updated
date indicates that they were updated again. We should ensure that already-archived manuscripts are not re-archived.