[Koha-bugs] [Bug 28950] New: serialsUpdate cron does not mark an issue late until the next issue is expected

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 3 18:54:07 CEST 2021


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

            Bug ID: 28950
           Summary: serialsUpdate cron does not mark an issue late until
                    the next issue is expected
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Serials
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

When running the cron it does this:
1 - Get all issues with a published date + grace period before today
2 - Loop the related subscriptions
3 - Check the next published date for the serial
4 - Compare the next issues publisheddate to today
5 - Mark late/generate the next issue if the next issue should already be
published

For a monthly serial with a 30 day grace period, this is usually ok

For a yearly serial this is a problem
1 - Issue expected 2021-07-01, 30 day grace period
2 - As of 2021-08-01 that serial is past the grace period
3 - Next issue is planned for 2022-07-01
4 - Serial not marked late for a year

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