[koha-commits] main Koha release repository branch 19.05.x updated. v19.05.09-19-ge2777a0a0d
Git repo owner
gitmaster at git.koha-community.org
Thu Apr 9 00:25:36 CEST 2020
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, 19.05.x has been updated
via e2777a0a0d69cb5ee366e77fa82375ccff59e10c (commit)
from 67a4e40f5cd1866d5ed27f211800731bd4c14764 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e2777a0a0d69cb5ee366e77fa82375ccff59e10c
Author: Owen Leonard <oleonard at myacpl.org>
Date: Fri Feb 28 16:48:37 2020 +0000
Bug 23753: Add missing humanMsg library to pages using background job JavaScript
The JavaScript used to process background uploads calls the humanMsg
library under some circumstances. There are several templates which use
background-job-progressbar.js which don't include the humanMsg assets.
This patch corrects those templates.
Note: upload-images.tt has been modified to remove the inclusion of
background-job-progressbar.js because it was unused.
To test, apply the patch and test the following processes which include
background job processing:
- Batch item modification -- the background job is triggered when you
submit your changes
- Batch record modification -- the background job is triggered when you
submit your changes
- Stage MARC for import -- the background job is triggered when you
click the "Sage for import" button after uploading a file
- Staged MARC management -- the background job is triggered when you
click "Import this batch into the catalog"
In each case the process should complete correctly. If you would like to
test the error message handling provided by the humanMsg library you can
deliberately introduce an error into the JavaScript. After applying the
patch you can modify js/background-job-progressbar.js to alter line 63
from:
url: f.action,
...to:
url: f.action + "foo",
Perform the same tests and confirm that you see an error message. Don't
forget to undo your changes to background-job-progressbar.js before
signing off.
Signed-off-by: Maryse Simard <maryse.simard at inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Joy Nelson <joy at bywatersolutions.com>
(cherry picked from commit 4516a3ead6577131cc8087527a6d0c42158597f8)
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt | 3 ++-
.../intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt | 2 ++
koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt | 2 ++
koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt | 2 +-
koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt | 1 -
5 files changed, 7 insertions(+), 3 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list