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