[Koha-bugs] [Bug 20287] Move AddMember and ModMember to Koha::Patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 20 13:06:28 CEST 2018


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

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

--- Comment #8 from Kyle M Hall <kyle at bywatersolutions.com> ---
t/db_dependent/Koha/Object.t .. 3/11 DBD::mysql::st execute failed: Duplicate
entry 'MB62Yq_MZzsGZK1vprKD' for key 'cardnumber' [for Statement "INSERT INTO
`borrowers` ( `borrowernumber`, `branchcode`, `cardnumber`, `categorycode`,
`dateenrolled`, `dateexpiry`, `dateofbirth`, `debarred`, `guarantorid`,
`password`, `privacy`, `privacy_guarantor_checkouts`, `sms_provider_id`,
`userid`) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )" with
ParamValues: 0=undef, 1='AofTnkLO7', 2='MB62Yq_MZzsGZK1vprKD', 3='WQQkZH3D',
4='2018-04-20T11:06:10', 5='4237-12-20T11:06:10', 6=undef, 7=undef, 8=undef,
9='!', 10=1, 11=0, 12=undef, 13='1'] at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.

    #   Failed test 'Exception is thrown correctly'
    #   at t/db_dependent/Koha/Object.t line 292.
    # expecting: Koha::Exceptions::Object::DuplicateID
    # found: normal exit
    # Looks like you planned 10 tests but ran 7.
    # Looks like you failed 1 test of 7 run.

#   Failed test 'store() tests'
#   at t/db_dependent/Koha/Object.t line 315.
Can't call method "message" without a package or object reference at
t/db_dependent/Koha/Object.t line 295.
# Looks like your test exited with 255 just after 10.
t/db_dependent/Koha/Object.t .. Dubious, test returned 255 (wstat 65280,
0xff00)
Failed 2/11 subtests

Test Summary Report
-------------------
t/db_dependent/Koha/Object.t (Wstat: 65280 Tests: 10 Failed: 1)
  Failed test:  10
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 11 tests but ran 10.
Files=1, Tests=10,  3 wallclock secs ( 0.04 usr  0.00 sys +  2.48 cusr  0.25
csys =  2.77 CPU)
Result: FAIL

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


More information about the Koha-bugs mailing list