[Koha-devel] Cautionary warnings in longoverdue.pl
Owen Leonard
oleonard at myacpl.org
Wed Aug 1 17:13:00 CEST 2012
misc/longoverdue.pl contains this warning;
WARNING: This script is known to be faulty. It is NOT recommended to
use multiple --lost options.
See http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=2883
The bug in question has been closed ("RESOLVED - WORKSFORME"). Can we
now remove that warning from the script? What about these FIXMEs? Are
they still valid, and should that affect the help text?
# FIXME: We need three pieces of data to operate:
# ~ lower bound (number of days),
# ~ upper bound (number of days),
# ~ new lost value.
# Right now we get only two, causing the endrange hack. This
is a design-level failure.
# FIXME: do checks on --lost ranges to make sure they are exclusive.
# FIXME: do checks on --lost ranges to make sure the authorized values exist.
# FIXME: do checks on --lost ranges to make sure don't go past endrange.
# FIXME: convert to using pod2usage
# FIXME: allow --help or -h
-- Owen
--
Web Developer
Athens County Public Libraries
http://www.myacpl.org
More information about the Koha-devel
mailing list