[Koha-bugs] [Bug 31937] New: cleanup_database locked a large number of patrons

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 24 12:32:39 CEST 2022


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

            Bug ID: 31937
           Summary: cleanup_database locked a large number of patrons
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: m.de.rooy at rijksmuseum.nl
        QA Contact: testopia at bugs.koha-community.org
                CC: robin at catalyst.net.nz

The first run of cleanupdatabase after the upgrade to 21.11 did indeed cleanup
a lot ;)
It seems that this statement
    my $expired_patrons = Koha::Patrons->filter_by_expiration_date({ days =>
$lock_days })->search({ login_attempts => { '!=' => -1 } });

works different than before. It must have selected patrons that had an empty
dateexpiry in 20.11 ?

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