[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
Sat Jan 16 03:21:04 CET 2016
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15188
Chris Cormack <chris at bigballofwax.co.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #46018|0 |1
is obsolete| |
--- Comment #9 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 46741
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46741&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>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list