[Koha-bugs] [Bug 23753] Background job JavaScript should not try to call humanMsg library
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23753 Nick Clemens changed: What|Removed |Added CC||n...@bywatersolutions.com Depends on||19417 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19417 [Bug 19417] Improve display of errors from background job during stage for import -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 23753] Background job JavaScript should not try to call humanMsg library
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23753 Cori Lynn Arnold changed: What|Removed |Added CC||carn...@dgiinc.com Status|Needs Signoff |Failed QA --- Comment #2 from Cori Lynn Arnold --- I tested these and they worked as expected with the alert: Tools -> Batch record modification Tools -> Batch item modification Tools -> Stage MARC records for import Tools -> Staged MARC record management I did *not* get an alert for the following interfaces: Tools -> Upload local cover image Circulation -> Upload offline circulation data (but I wasn't giving it a real file... if it needs a real-ish file, can you provide a test one that I can manipulate?) -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 23753] Background job JavaScript should not try to call humanMsg library
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23753 --- Comment #1 from Owen Leonard --- Created attachment 94027 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94027=edit Bug 23753: Background job JavaScript should not try to call humanMsg library This patch modifies the JavaScript file which handles background jobs so that it doesn't try to call the HumanMsg JavaScript library. It now will show errors in an alert. The patch also adds a couple of lines of JS to hide the progressbar and re-enable the submit button when an error is triggered. To test you'll need to introduce a problem with AJAX operations so that the error message will be triggered. 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 following tests and confirm that an error message is shown in an alert: Tools -> Batch record modification - Test the process of uploading a file of biblionumbers Tools -> Batch item modification - Test the process of uploading a file of barcodes Tools -> Stage MARC records for import - Test the process of staging an uploaded file for import Tools -> Staged MARC record management - Test the process of importing a staged file The background-jobs JS was not used on these pages and has been removed: Tools -> Upload local cover image - Test the process of uploading cover images Circulation -> Upload offline circulation data - Test the process of uploading a .koc file Don't forget to undo your change to background-job-progressbar.js before signing off. -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-bugs] [Bug 23753] Background job JavaScript should not try to call humanMsg library
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23753 Owen Leonard changed: What|Removed |Added Patch complexity|--- |Trivial patch Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes. ___ Koha-bugs mailing list Koha-bugs@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/