[Koha-bugs] [Bug 26307] New: misc/cronjobs/update_patrons_category.pl --too_old acts a year too early

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 27 14:12:48 CEST 2020


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

            Bug ID: 26307
           Summary: misc/cronjobs/update_patrons_category.pl --too_old
                    acts a year too early
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: fridolin.somers at biblibre.com
        QA Contact: testopia at bugs.koha-community.org
                CC: robin at catalyst.net.nz

misc/cronjobs/update_patrons_category.pl --too_old must change category when
the age of the patron is greater than (exclusive) limit age of the category.
Actually it changes a year too early : he goes to a min 18 years category
having reached 17 years.

Looks like the test suite is wrong not strong enought on
Koha::Patrons->search_patrons_to_update_category().

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