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

            Bug ID: 41276
           Summary: Auto calculation of patron expiration date when
                    editing patron does not follow
                    BorrowerRenewalPeriodBase
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Patrons
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

The system preference BorrowerRenewalPeriodBase defines how Koha calculates a
patron's expiration date when renewing their account (either by clicking Renew
in the staff interface or via the membership_expiry cron). However, Koha will
also calculate a new patron expiration date when saving a patron without an
expiration date defined. That calculation does not follow the syspref at all.
Instead, it calculates differently depending on whether or not the patron
registration date is visible in the patron edit screen.

To recreate:
1 - confirm patron registration date is *not* hidden with BorrowerUnwantedField
2 - edit a patron, clear their expiration date, and save
3 - confirm their new expiration date was calculated from their registration
date
4 - set BorrowerUnwantedField to hide registration date
5 - edit a patron, clear their expiration date, and save
6 - confirm their new expiration date was calculated from the current date

This variation of behavior is not particularly clear or expected. It would make
more sense to follow BorrowerRenewalPeriodBase when saving a patron with a
blank expiration date.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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/

Reply via email to