https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25531
Bug ID: 25531
Summary: Patron may not be debarred if backdated return
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
Severity: major
Priority: P5 - low
Component: Circulation
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
This has been caught by a test failing randomly:
15:41:14 koha_1 | # Failed test 'AddReturn must have debarred the
patron'
15:41:14 koha_1 | # at t/db_dependent/Circulation.t line 88.
15:41:14 koha_1 | # got: ''
15:41:14 koha_1 | # expected: '1'
15:41:14 koha_1 | # AddReturn returned message $VAR1 = {
15:41:14 koha_1 | # 'WasReturned' => 1
15:41:14 koha_1 | # };
15:41:14 koha_1 |
15:41:14 koha_1 | # Failed test 'Test at line 2282'
15:41:14 koha_1 | # at t/db_dependent/Circulation.t line 92.
15:41:14 koha_1 | # got: '0'
15:41:14 koha_1 | # expected: '1'
15:41:14 koha_1 |
15:41:14 koha_1 | # Failed test 'Test at line 2282'
15:41:14 koha_1 | # at t/db_dependent/Circulation.t line 95.
15:41:14 koha_1 | # got: undef
15:41:14 koha_1 | # expected: '2020-06-01'
15:41:14 koha_1 | # Looks like you failed 3 tests of 21.
15:41:14 koha_1 |
15:41:14 koha_1 | # Failed test 'AddReturn + suspension_chargeperiod'
15:41:14 koha_1 | # at t/db_dependent/Circulation.t line 2291.
15:41:28 koha_1 | # Looks like you failed 1 test of 48.
15:41:28 koha_1 | [13:41:28] t/db_dependent/Circulation.t
To know if an issue is overdue, we compared it with today. But we should
compare it with the return date is provided
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
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/