[Koha-bugs] [Bug 4286] Subscription expired at its creation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 17 11:50:20 CET 2010


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4286

--- Comment #11 from Colin Campbell <colin.campbell at ptfs-europe.com> 2010-12-17 10:50:19 UTC ---
The bug is now specific to some frequencies. There is a specific problem in
serials-edit which was checking HasSubscriptionExpired as if it was a boolean.
In fact that subroutine can return three values (Not expired, expired, no
enddate set) I've sent a patch which explictly checks for expiration, as the
third response was stopping receipting despite it being valid for some
frequencies and we cannot guarantee the enddate being set on new subscriptions. 

I think that patch should resolve the case I managed to reproduce. Other
recently added patches mean that enddate is now being correctly set rather than
left as NULL on some common cases. There are some horrible semantics in some of
the expiry/prediction interface that need clearing up though.

-- 
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