[Koha-bugs] [Bug 25850] CalcDateDue freezes with 'useDaysMode' set to 'Dayweek' and the due date lands on a Sunday

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 11 18:00:25 CEST 2020


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

--- Comment #23 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Can't backport to 19.05.x, the test uses next_open_days which isn't in 19.05

If someone needs this for 19.05.x, please send a patch or code extract that
would allow the test to be backported. And thus ensuring that the fix works.

kohadev-koha at 891563ed356b:/kohadevbox/koha$ prove t/db_dependent/Calendar.t
t/db_dependent/Calendar.t .. 1/8         # No tests run!

    #   Failed test 'No tests run for subtest "weekday holidays"'
    #   at t/db_dependent/Calendar.t line 183.
    # Looks like you failed 1 test of 1.

#   Failed test 'get_push_amt'
#   at t/db_dependent/Calendar.t line 184.
Can't locate object method "next_open_days" via package "Koha::Calendar" at
t/db_dependent/Calendar.t line 165.
        ...propagated at t/db_dependent/Calendar.t line 169.
# Looks like your test exited with 11 just after 8.
t/db_dependent/Calendar.t .. Dubious, test returned 11 (wstat 2816, 0xb00)
Failed 1/8 subtests

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list