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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 6 17:54:56 CEST 2023


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

Lucas Gass <lucas at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lucas at bywatersolutions.com

--- Comment #36 from Lucas Gass <lucas at bywatersolutions.com> ---
Emmi,

When I apply this patch, run the database update, and restart services the
tests fail the same as what Sam notes:

# 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(0x558a5143c3d8)' 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 1589.
Invalid value passed, borrowers.updated_on=SCALAR(0x558a5143c3d8) expected type
is datetime# Looks like your test exited with 255 just after 25.
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/25 subtests

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


More information about the Koha-bugs mailing list