Koha-clms/Koha/BackgroundJob
Nick Clemens 7d6dafef6d
Bug 42656: Improve file transport test display
This patch displays the directory tested in the background jobs results

It updates the language when test results are not stored for the transport and
links to the job when results are stored

To test:
1 - Setup an ftp file transport with good credentials
2 - Enter non-existent directories in incoming/outgoing
3 - Save
4 - Verify on save 'Never used' shows for status
5 - Refresh the page, status now:
     Connection ok
     Change directory ok
     Change directory failed
     Change directory ok
     Change directory failed
6 - Apply patch, restart all
7 - Edit/save the transport again, change nothing
8 - Confirm the page says 'No test results stored'
9 - Reload the page
10 - Confirm results are now:
     Connection ok
     Change directory ok
     Change directory failed
     Change directory ok
     Change directory failed
     Test job details
11 - Click on the job details link
12 - Confirm actual directory and errors are shown
13 - Edit the transport, use existing directories
14 - Save, reload
15 - Confirm the success results and link t background job

Signed-off-by: John Vinke <jvinke@austinseminary.edu>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
2026-08-06 16:05:19 +00:00
..
BatchCancelHold.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
BatchDeleteAuthority.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
BatchDeleteBiblio.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
BatchDeleteItem.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
BatchUpdateAuthority.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
BatchUpdateBiblio.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
BatchUpdateBiblioHoldsQueue.pm Bug 42489: Pass unallocated mode to real-time holds queue 2026-07-27 12:12:47 +00:00
BatchUpdateItem.pm Bug 43103: Switch OR chains to INs for batch item modification and patron deletion 2026-07-31 13:40:31 +00:00
CreateEHoldingsFromBiblios.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
ErmSushiHarvester.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
ImportKBARTFile.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
MARCImportCommitBatch.pm Bug 40846: Improve handling of ignored records 2026-01-21 07:44:20 -07:00
MARCImportRevertBatch.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
PseudonymizeStatistic.pm Bug 42396: Adjust 'use' statements 2026-07-27 15:53:23 +00:00
StageMARCForImport.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
TestTransport.pm Bug 42656: Improve file transport test display 2026-08-06 16:05:19 +00:00
UpdateElasticIndex.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00