[Koha-bugs] [Bug 6328] Fine in days does not work
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Oct 13 19:12:19 CEST 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6328
Ian Walls <ian.walls at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Patch Status|Signed Off |Failed QA
--- Comment #35 from Ian Walls <ian.walls at bywatersolutions.com> 2011-10-13 17:12:19 UTC ---
members/setdebar.pl is only used in the link on moremember.tt, which unblocks
the patron. The query executed merely sets 'debarred' to $status, for whatever
status is input in the form. Previously, when debarred was an integer, this
was 0. Now that debarred is a date, and there is a debarred comment, the
values submitted to the form should be updated to reflect this, or the script
itself should be changed to more thoroughly handle $status = 0.
The opac/opac-user.pl call is correct, you're right.
If notifyMailsOp.pl is deprecated, no worries there.
A few other issues I'm noticing:
This patch also changes the output of IsMemberBlocked, from returning the
number of days they patron is blocked to the date they're blocked until. This
means that issuingimpossible{USERBLOCKEDREMAINING} in
C4::Circulation::CanBookBeIssued is populated with a date instead of an
integer, breaking the display circ/circulation.tt (<li>Patron has had overdue
items and is blocked for [% USERBLOCKEDREMAINING %] day(s).</li>). A simple
change to circ/circulation.tt to handle this date correctly would suffice.
This would introduce string changes.
The new documentation in C4/Auth_with_ldap.pm is off by a couple spaces... the
indentation is off by about a full tab's worth for debarredcomment.
KohaTest/Members/DebarMember.pm does not pass a date in it's tests, likely
making the tests fail (or return false success).
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the Koha-bugs
mailing list