Koha-clms/misc/maintenance
Marcel de Rooy 24a6ef2ba1 Bug 19190: [Follow-up] Do not rely on the return of ModItem
touch_all_items looks at the return of ModItem to determine if the
operation was successful. But ModItem does not return a meaningful
value. This patch puts the ModItem call in an eval and looks at $@.

Test plan:
Run touch_all_items with a where condition and verbose option.
Put print 1/0; at the end of ModItem.
Run touch_all_items again. You should see: ERROR WITH ITEM xxx !!!!

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: David Bourgault <david.bourgault@inlibro.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 1fc0b65254)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2017-12-11 16:52:16 +01:00
..
UNIMARC_fix_collectiontitle.pl
…
UNIMARC_sync_date_created_with_marc_biblio.pl Bug 9192: let UNIMARC_sync_date_created_with_marc_biblio.pl create fields if needed 2013-10-23 14:20:14 +00:00
auth_show_hidden_data.pl Bug 18811: Add a script for checking authority data in hidden fields 2017-10-23 15:32:14 +02:00
borrowers-force-messaging-defaults Bug 18058: Allow borrower_message_preferences to be truncated 2017-03-31 10:07:03 +00:00
check_sysprefs.sh Bug 8353 follow-up adding a tiny sh in misc/maintenance 2012-07-13 14:42:55 +02:00
cmp_sysprefs.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
fix_accountlines_date.pl Bug 14998: Restore previous behavior 2015-11-11 11:07:27 -03:00
fix_accountlines_rmdupfines_bug8253.pl Bug 14870: (followup) Remove superfluous C4::Dates from fix_accountlines_rmdupfines_bug8253.pl 2015-11-19 13:05:06 -03:00
fix_mysql_constraints.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
make_zebra_dom_cfg_from_record_abs Bug 9978: (followup) Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:43 -03:00
process_record_through_filter.pl Bug 7417: Include see from references in bibliographic searches 2012-09-13 14:19:28 +02:00
remove_items_from_biblioitems.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
sanitize_records.pl Bug 17196: Update POD of sanitise_records.pl 2017-01-13 13:49:28 +00:00
touch_all_biblios.pl Bug 19190: Silly calculation of average time in touch_all scripts 2017-12-11 16:50:53 +01:00
touch_all_items.pl Bug 19190: [Follow-up] Do not rely on the return of ModItem 2017-12-11 16:52:16 +01:00