Bug 19417: Display full error text when problem importing records
authorNick Clemens <nick@bywatersolutions.com>
Thu, 5 Oct 2017 15:26:46 +0000 (15:26 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 13 Mar 2019 05:31:33 +0000 (05:31 +0000)
commit3d167645beae7a05ac6a0dfaac8a87d12b0b4824
tree736b8fe2c4f0c46b19ea7134296749b5e668dc23
parent40d0a77a01be40b21f1190b195f47ae88c889b5b
Bug 19417: Display full error text when problem importing records

To test:
1 - Upload a file to stage
2 - Select your import options
3 - Delete the file from the server, example:
    sudo rm /tmp/koha_kohadev_uploads/
4 - 'Click stage for import'
5 - Get an alert 'Failed to submit form: error'
6 - Apply patches
7 - Repeat 1-4
8 - Get a pretty error with additional info

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/lib/jquery/plugins/humanmsg.js
koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt
koha-tmpl/intranet-tmpl/prog/js/background-job-progressbar.js