[Koha-bugs] [Bug 15188] remove_unused_authorities.pl will delete all authorities if zebra is not running
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 19 09:58:18 CET 2016
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15188
Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #46741|0 |1
is obsolete| |
--- Comment #10 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 46849
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46849&action=edit
Bug 15188 - Fixes remove_unused_authorities.pl will delete all authorities if
zebra is not running
Test plan:
1) Shut down zebra: koha-zebra-ctl.sh stop
2) Execute the script: remove_unused_authorities.pl (with -t if you don't want
to really delete from your database).
3) Check that the script would have deleted all the authorities (eg: 31449
authorities parsed, 31449 deleted and 0 unchanged because used).
4) Apply patch
5) Run, notice that the script dies because zebra is unavailable
Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list