Acquisitions EDI Fetcher can crash with bad remote account
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Undecided
|
Unassigned |
Bug Description
Evergreen versions 3.11.5, 3.12.3
The new approach to fetch acquisitions EDI information via SFTP (bug 2040514) can crash when there is a remote account with a bad set up on the remote server.
So far, it has been seen with an account that can login, but has no (or a missing) home directory. The SFTP software will emit an error and then crash. This crash takes out the edi_fetcher.pl as well. The work around for this situation is to deactivate the acq.provider entry for the account that causes the crash.
The issue with the remote account may have been masked until the switch to SFTP because the FTP retrieval method simply goes on to the next account. (It should probably report an error in this case.)
If any condition causes the SFTP retrieval to crash, an error should be emitted and the retrieval process started over again from where it left off. The edi_fetcher.pl should be protected from crashing in this event.