[Koha-bugs] [Bug 22448] New: advance_notices.pl generates DUE(DGST) too early

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 4 11:13:35 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22448

            Bug ID: 22448
           Summary: advance_notices.pl generates DUE(DGST) too early
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: magnus at libriotech.no
        QA Contact: testopia at bugs.koha-community.org
                CC: robin at catalyst.net.nz
  Target Milestone: ---

Looking in message_queue, I see DUE messages with

    message_queue.time_queued = 2019-03-04 00:10:07

where the content says 

    The following item is now due:

and gives a due date/time of:

    2019-03-04 23:59 ...

So the loan is actually not due for another 23 hours and 49 minutes. This is
especially bothersome for one-day-loans, where the DUE(DGST) messages are never
triggered, because the trigger is set off before the patron has a chance to
borrow the item. 

Wouldn't it be better to fire off the DUE(DGST) messages 24 hours later, so at
2019-03-05 00:10:07 it would say "The following item is now due: 2019-03-04
23:59 ..."? Or am I missing something?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list