[Koha-bugs] [Bug 10104] koha-disable error handling
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 23 18:34:50 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10104
--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 17626
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17626&action=edit
Bug 10104 - make koha-disable more robust
koha-disable now:
- checks for the existence of the instance before any actions on it.
- checks if the instance is already disabled before touching anything (warns
otherwise)
- only reloads apache if needed
- handles more than one instance name.
- changed the docs to acknowledge the previous item.
To test:
- Apply the patch, build your package
- Run koha-disable on
- Non existent instance (try names that are prefix and suffix of a valid one
too please)
- Already disabled instance name.
- Enabled instance name.
It should work as expected and warn the user on the expected wrong cases.
Regards
To+
Sponsored-by: Universidad Nacional de Córdoba
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list