[Koha-bugs] [Bug 20170] New: Clicking Reregistration Link Causes Enrollment Periods to Stack

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 9 18:37:39 CET 2018


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

            Bug ID: 20170
           Summary: Clicking Reregistration Link Causes Enrollment Periods
                    to Stack
 Change sponsored?: ---
           Product: Koha
           Version: 17.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Patrons
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: cslone at camdencountylibrary.org
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

If you renew a patron's registration by using the 'Renew' link that is
displayed after the expiration warning on the checkout screen, and you click
said link more than once, the dateexpiry gets changed and extended a requisite
number of times. In other words, if your enrollment period is two years and you
double-click this link, the new expiration date will be end up being four years
from today. If you triple click it, it will be 6 years. Quadruple click it for
8 years. (It's not possible to do this using the dropdown renewal option as it
produces a dialogue box asking for the user to confirm the registration
renewal.)

To replicate:
1.) Create or select a patron category that has an enrollment period that is
calculated in months (not a fixed date, for this example I use 24 months
2.) Find or create a patron in that category with an expired account
3.) Open this patron's account for checkout and find the warning about the
patron's expired account
4.) Double click 'Renew'
5.) When the page reloads confirm that the expiration date is now 48 months
from today (rather than the 24 dictated by the category enrollment period)

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