Koha/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs
Pedro Amorim d55ea648ac
Bug 34587: Improve SUSHI COUNTER error handling
This is doing a few things, checking for sushi errors:
1) Abort background job and provide error message if SUSHI returned
   {Severity} in response, this means SUSHI error, docs here:
https://app.swaggerhub.com/apis/COUNTER/counter-sushi_5_0_api/5.0.2#/SUSHI_error_model

2) Abort background job and provide error message if SUSHI provided
   proper response, but contains Exceptions in Report_Header

3) Abort background job and provide error message if SUSHI returned 0
   report items (e.g. everything is fine but there are no items for the
   harvest period provided

4) Abort background job and provide error message if COUNTER file
   created is larger than allowed by the database.

5) Provide error message if manual upload file size exceeds the max
   allowed by the database

Signed-off-by: Jessica Zairo <jzairo@bywatersolutions.com>
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-31 16:46:25 -03:00
..
batch_authority_record_deletion.inc Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
batch_authority_record_modification.inc Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
batch_biblio_record_deletion.inc Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
batch_biblio_record_modification.inc Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
batch_hold_cancel.inc Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
batch_item_record_deletion.inc Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
batch_item_record_modification.inc Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
create_eholdings_from_biblios.inc Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
erm_sushi_harvester.inc Bug 34587: Improve SUSHI COUNTER error handling 2023-10-31 16:46:25 -03:00
marc_import_commit_batch.inc
marc_import_revert_batch.inc
stage_marc_for_import.inc
update_elastic_index.inc Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
update_holds_queue_for_biblios.inc Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00