https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32604
Bug ID: 32604
Summary: Patron categories upper age limit not respected when
creating a patron
Change sponsored?: ---
Product: Koha
Version: master
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]
Koha treats patron categories upper age limit inconsistently. E.g. if child
patron category's upper age limit is 18, one is still able to add child patron
who is 18 years old. However, when cronjob update_patrons_category.pl is run,
patrons over and exactly aged 18 are considered overaged and their categorycode
is updated. We should either fix patron creation or cronjob to avoid confusion.
To test:
1. Add upper age limit as 18 for child patron category.
2. Create a child patron whose age is 18.
3. Save.
=> Patron is saved successfully.
4. Run cronjob update_patrons_category.pl with verbose option.
perl update_patrons_category.pl --too_old --from CHILD --to ADULT -v
=> Note that patron is reported as updated (or would have updated) as an adult
patron.
--
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]
https://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/