[Koha-bugs] [Bug 15079] Batch Delete Records Error
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Nov 13 10:28:47 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15079
Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #44303|0 |1
is obsolete| |
--- Comment #8 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 44831
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44831&action=edit
Bug 15079 - Batch Delete Records Error
When using the batch deletion tool, if the script attempts to delete an
undeletable item, the script will die with the error:
Label not found for "next BIBLIONUMBER" at
/usr/share/koha/intranet/cgi-bin/tools/batch_delete_records.pl line 172.
Test Plan:
1) Attempt to batch delete a record with an item that cannot be deleted
2) Note error
3) Apply this patch
4) Repeat step 1
5) Note the error no longer occurs
Signed-off-by: Hector Castro <hector.hecaxmmx at gmail.com>
Works as advertised. Follow comment 5 to reproduce the issue
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
I have not tested this patch, but looking at the code it is obviously a
mistake.
If an error occured, we rollback and skip this record.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list