[Koha-bugs] [Bug 12473] New: Overdue notices listing wrong items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 24 18:28:05 CEST 2014


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

            Bug ID: 12473
           Summary: Overdue notices listing wrong items
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: katrin.fischer at bsz-bw.de
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

To my understanding when using overdue_notices.pl -t without --list-all the
generated notices should only list items due exactly on the date calculated
from the triggers. This doesn't seem to be always the case:

SETUP

- Testing on a fresh database with sample data installed
- Added superlibrarian user, Midway
- Added 14 records with 1 item itemtype „Books“ each at Midway
- Added circulation condition: any-any-any:
  * Loan period: 1 day
- Added 3 different overdue notices ODUE1-3, having both item syntaxes:

<<items.content>>

----

<item>
Title: <<biblio.title>>
Due date: <<items.onloan>>
Barcode: <<items.barcode>>
</item>

- Set Notice triggers for all libraries: 7, 14, 21, only email checked
- Checked out all 14 books, with due dates in the past, starting from yesterday
(-1 below) to 2 days ago.
- Ran: overdue_notices.pl -t -v

RESULTS

Due date today-1 = yesterday, Overdue notice listed
-1        
-2        
-3        
-4        
-5        
-6    
-7, 1st
-8, 1st
-9, 1st
-10, 1st
-11, 1st
-12, 1st
-13, 1st
-14, 2nd

I expected, that the first overdue notice would only list the item exactly 7
days overdue.

With --list-all all 14 overdue items are listed in the notice, which seems
correct.

I am not sure if I am missing something here - would be happy if someone could
confirm if that is or is not the expected behaviour.

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