Koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools
Owen Leonard 9060ca36c0
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@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-03-02 09:49:56 +00:00
..
access_files.tt
automatic_item_modification_by_age.tt
batch_delete_records.tt Bug 24124: Fix authorities selection in batch deletion tool in Chrome 2019-12-13 14:03:05 +00:00
batch_record_modification.tt Bug 23753: Add missing humanMsg library to pages using background job JavaScript 2020-03-02 09:49:56 +00:00
batchMod-del.tt Bug 23987: "return to cataloguing" if the record is deleted from bachMod-del 2019-12-09 14:31:13 +00:00
batchMod-edit.tt Bug 23753: Add missing humanMsg library to pages using background job JavaScript 2020-03-02 09:49:56 +00:00
batchMod.tt
cleanborrowers.tt Bug 24484: Add explanatory text to batch patron deletion 2020-01-27 10:14:55 +00:00
csv-profiles.tt
export.tt Bug 14647: Make spelling in file format pull downs match 2020-02-20 08:59:41 +00:00
holidays.tt
import_borrowers.tt
inventory.tt Bug 24275: Apply anti-the to title column in inventory table 2020-01-15 13:53:51 +00:00
koha-news.tt Bug 22880: Convert opacheader system preference to news block 2020-02-24 13:24:12 +00:00
letter.tt Bug 23354: Add receipting to Pay page 2020-01-13 14:04:09 +00:00
manage-marc-import.tt Bug 23753: Add missing humanMsg library to pages using background job JavaScript 2020-03-02 09:49:56 +00:00
marc_modification_templates.tt Bug 17510: enable use of subfield 0 in MMT actions 2020-02-21 16:01:34 +00:00
modborrowers.tt Bug 20847: Add more fields to the Batch Patron Modification tool 2020-01-29 09:07:33 +00:00
overduerules.tt
picture-upload.tt
preview_letter.tt
quotes-upload.tt
quotes.tt
scheduler.tt
showdiffmarc.tt
stage-marc-import.tt Bug 23753: Add missing humanMsg library to pages using background job JavaScript 2020-03-02 09:49:56 +00:00
stockrotation.tt
tools-home.tt
upload-images.tt Bug 23753: Add missing humanMsg library to pages using background job JavaScript 2020-03-02 09:49:56 +00:00
upload.tt
viewlog.tt Bug 19791: Keep user in circ when viewing patron's logs 2020-02-19 11:29:58 +00:00