[Koha-bugs] [Bug 35656] New: Autorenewal notices can resend content that has already been relayed to the patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 27 17:05:04 CET 2023


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

            Bug ID: 35656
           Summary: Autorenewal notices can resend content that has
                    already been relayed to the patron
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Notices
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: lucas at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

To recreate: 

1. Enable AutoRenewalNotices
2. Choose a patron and make sure they have an email address and messaging prefs
set to revieve an AUTO_RENEWAL_DGST 
3. Set Circ rules so automatic_reneal is on
4. Check out several items (item 1, item 2, and item 3) to your chosen patron,
and make sure they are within range of auto renewing via circ rule "No renewal
before"
5. Put item 1, item 2, and item 3 on hold for someone else.
6. Run the autorenewal script.
7. Patron receives message that item 1, item 2, and item 3 will not be renewed
because they are on hold for someone else.
8. Checkout item 4, making sure it is within range of auto renewing via circ
rule "No renewal before".
9. Run the script, item 4 will successfully auto renew. However the notice
always states that item 1, item 2, and item 3 on hold for someone else.


Since the patron has already receievd a notice that item 1, item 2, and item 3
are on hold for someone else they do not want to be told again. The 2nd notice
( step 6 ) should only notifiy the patron that item 4 has been renewed. 

Currently, if 1 item changes in status we will resend info. about ALL renewals,
even if patron has been notified.

The autorenewal script should only send information on items that have changed
in status.

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


More information about the Koha-bugs mailing list