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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to