http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10163
Owen Leonard <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #45326|0 |1 is obsolete| | --- Comment #9 from Owen Leonard <[email protected]> --- Created attachment 45723 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45723&action=edit [SIGNED-OFF] Bug 10163 - batch-mod items tool fails on files over 1000 lines long When using batch modification tool, if number of items is too big (default 1000), the edit form is not displayed. In perl script, when number of items is too big, template var "item_loop" is not defined and var "too_many_items"is set. This patch allows the display of edit form and text "The following barcodes were found: " even when number of items is too big. Test plan : - Create a file with 11 existing barcodes and 1 not existing in catalogue - Set syspref MaxItemsForBatch to 1000 - Go to Tools > Batch item modification - Select "Barcode file" and upload file - Click on continue => you see a warning with the not found barcode, a table with found items and the edit form - Set syspref MaxItemsForBatch to 10 - Go to Tools > Batch item modification - Select "Barcode file" and upload file - Click on continue => you see a warning with the not found barcode and a text "Too many items ..." => Without patch you don't see the edit form => With patch you see the edit form and can perform the batc modifications Signed-off-by: Owen Leonard <[email protected]> Test plan followed successfully. Item modifications completed correctly. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
