Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Kyle M Hall 54e1ae7ed3 Bug 12025 - Inventory tool fails with "Could not reads headers", or sometimes a timeout
For libraries with large numbers of records, using a file of barcodes in
the inventory tool without selecting filters to limit the catalog
selection to compare against can result in an error of "could not read
headers" or a page timeout.

When you upload a file of barcodes, and do not specify any filters on
the rest of the form, it effectively runs GetItemsForInventory() such
that *every* item in the database is returned.  On a large enough
database, this takes so long that the script times out.

The current documentation in the manual implies that if you upload a
file of barcodes, the *only* thing it does is set the date-last-seen
field.  This is not entirely true; it also tries to compare the list of
scanned items to what is expected to be seen in the list of items.

The work-around for libraries with a large number of item records is to,
when uploading a file of barcodes, to also set the filters (e.g.,
library, shelving location, call number range, etc.) to
specify the range of items that the file of barcodes corresponds to.

This patch adds a warning when a librarian attempts to upload a
barcode list file for comparison without selecting any filters
to limit the catalog selection.

Test Plan:
1) Apply this patch
2) Browse to the inventory tool
3) Click the "Choose File" button, select a file
4) Click the "Submit" button
5) You should see a warning message
6) Click "Cancel"
7) Select one of more filters
8) Click the "Submit" button
9) This time the script should proceed without triggering the warning.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Work as described following test plan.
No errors

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-06-05 10:09:42 -03:00
..
acqui Bug 3050: QA follow-up 2014-05-25 21:15:03 +00:00
admin Bug 11629 - Add ability to update not for loan status on checkin 2014-05-26 03:21:53 +00:00
authorities Bug 7442: fix crash when selecting an authority with 200$x or 200$y (UNIMARC) 2014-05-05 01:09:29 +00:00
basket Bug 12107 - Move checkboxes jQuery plugin outside of language-specific directory 2014-04-25 15:12:20 +00:00
batch Bug 9210: wrap long lines in printed hold notices 2014-01-15 15:51:44 +00:00
catalogue Bug 12206: fix HTML in other holdings list in staff search results page 2014-05-13 14:07:12 +00:00
cataloguing Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
circ Bug 11014 - Slip Print Problem in Chrome 2014-05-30 16:05:23 -03:00
course_reserves Bug 11570 - Upgrade jQueryUI to latest version in the staff client 2014-04-07 15:37:27 +00:00
errors Bug 2780 - Capitalize strings consistently (Error pages) 2012-04-10 10:03:32 +02:00
help Bug 12190: fold the "Creators" system preference tab into "Tools" 2014-05-23 13:09:51 +00:00
installer Bug 2774 - Path to theme is hard-coded in many places 2013-06-07 09:04:15 -07:00
labels Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
members Bug 11014 - Slip Print Problem in Chrome 2014-05-30 16:05:23 -03:00
offline_circ Bug 12107 - Move checkboxes jQuery plugin outside of language-specific directory 2014-04-25 15:12:20 +00:00
patron_lists Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
patroncards Bug 11365: (follow-up) trim whitespace in the translate_card_element block 2014-05-23 14:46:54 +00:00
plugins Bug 7804 - Add Koha Plugin System - QA Followup 2 2013-03-20 14:50:19 -04:00
reports Bug 11679: Add ODS as an export format for reports 2014-04-28 19:06:41 +00:00
reserve Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
reviews Bug 8143 [REVISED] Upgrade jQuery tabs to current jQueryUI version 2012-06-10 15:22:58 +02:00
rotating_collections Bug 2780 - Capitalize strings consistently (reserve, review, rotating collections) 2012-04-10 10:04:13 +02:00
serials Bug 12161: fix regression on serials receiving 2014-05-06 14:43:38 +00:00
services Bug 10475 - Item form in acquisition not hiding subfields properly 2013-07-12 20:40:15 +00:00
sms Bug 2780 - Capitalize strings consistently - various 2012-04-10 10:04:16 +02:00
suggestion Bug 11724: Make Funds/Status on suggestions page sortable/searchable 2014-04-28 17:25:29 +00:00
tags Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
test Bug 2774 - Path to theme is hard-coded in many places 2013-05-20 11:11:04 -07:00
tools Bug 12025 - Inventory tool fails with "Could not reads headers", or sometimes a timeout 2014-06-05 10:09:42 -03:00
virtualshelves Bug 12116 - Move fixFloat jQuery plugin outside of language-specific directory 2014-04-25 15:21:11 +00:00
z3950 Bug 9265 - Switch to HTML5 doctype in OPAC and staff client 2013-01-31 11:47:04 -05:00
about.tt Bug 11578: QA follow-up 2014-05-03 18:16:11 +00:00
auth.tt Bug 11146: Show a go back link on no permission page 2013-11-23 19:43:37 +00:00
intranet-main.tt Bug 10415 - Add course reserves to staff client home page 2014-03-12 18:15:24 +00:00