https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40840

--- Comment #1 from Kyle M Hall (khall) <[email protected]> ---
Created attachment 186574
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186574&action=edit
Bug 40840: Failure of an EDI SFTP account will kill edi_cron.pl preventing
uploads from subsequent accounts

EDI uploads are processed in order. If one account is unable to connect to the
SFTP server, it will call die_on_error which kills the script. This does not
affect regular FTP which will fail gracefully.

Test Plan:
1) Set up an SFTP server
2) Set up 3 EDI accounts
3) Set accounts 1 and 3 to have a good SFTP server hostname
4) Set account 2 to have a bad SFTP server hostname
5) Queue an edi order for each account
6) Run edi_cron.pl
7) Note the cronjob runs and dies with an error
8) Note only 1 EDI message was uploaded
9) Apply this patch
10) Run edi_cron.pl
11) Note that the cronjob does not die
12) Verify the message for account 3 was uploaded! ( the message for
    account 2 should remain as pending ).

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to