[Koha-bugs] [Bug 12133] Guarantor requirements when registering a patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jul 5 21:20:31 CEST 2023


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

Sam Lau <samalau at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |samalau at gmail.com
             Status|Needs Signoff               |Failed QA

--- Comment #32 from Sam Lau <samalau at gmail.com> ---
Everything in test plan worked fine for me, just failing
t/db_dependent/Koha/Patron.t. 

# Subtest: guarantor requirements tests
    1..6
    ok 1 - Child patron can be stored without guarantor when
ChildNeedsGuarantor is off.
    ok 2 - Exception thrown when guarantor is required but not provided.
    ok 3 - Exception thrown when child patron is added as guarantor.
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st
execute failed: Incorrect datetime value: 'SCALAR(0xaaab1c4b5b58)' for column
`koha_kohadev`.`borrowers`.`updated_on` at row 1 at
/kohadevbox/koha/Koha/Object.pm line 170
    # Looks like you planned 6 tests but ran 3.
not ok 25 - guarantor requirements tests

#   Failed test 'guarantor requirements tests'
#   at t/db_dependent/Koha/Patron.t line 1588.
Invalid value passed, borrowers.updated_on=SCALAR(0xaaab1c4b5b58) expected type
is datetime# Looks like your test exited with 255 just after 25.
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/25 subtests

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


More information about the Koha-bugs mailing list