[Koha-bugs] [Bug 14598] itemtype is not set on statistics by C4::Circulation::AddReturn

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 8 01:04:08 CET 2016


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14598

Jesse Weaver <jweaver at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jweaver at bywatersolutions.co
                   |                            |m
             Status|Signed Off                  |Failed QA

--- Comment #41 from Jesse Weaver <jweaver at bywatersolutions.com> ---
One of the new test fails after applying all patches, and I'm not quite sure
why:

[elf]:~/p/koha> prove t/db_dependent/Circulation/Returns.t -- [2016-01-07
17:01]
------------------------------------------------------------------------------------------------------------
t/db_dependent/Circulation/Returns.t .. 1/3 item-level_itypes set but no
itemtype set for item (Koha::Schema::Result::Item=HASH(0x7666618)->itemnumber)
at /home/feoh3/p/koha/Koha/Schema/Result/Item.pm line 653.
item-level_itypes set but no itemtype set for item
(Koha::Schema::Result::Item=HASH(0x7677b68)->itemnumber) at
/home/feoh3/p/koha/Koha/Schema/Result/Item.pm line 653.

    #   Failed test 'biblio-level itype recorded on statistics for return as a
fallback for null item-level itype'
    #   at t/db_dependent/Circulation/Returns.t line 167.
    #          got: 'zmH5aYw18'
    #     expected: 'JTI'
    # Looks like you failed 1 test of 2.

#   Failed test 'AddReturn logging on statistics table (item-level_itypes=1)'
#   at t/db_dependent/Circulation/Returns.t line 170.
# Looks like you failed 1 test of 3.
t/db_dependent/Circulation/Returns.t .. Dubious, test returned 1 (wstat 256,
0x100)
Failed 1/3 subtests 

Test Summary Report
-------------------
t/db_dependent/Circulation/Returns.t (Wstat: 256 Tests: 3 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
Files=1, Tests=3,  1 wallclock secs ( 0.02 usr  0.00 sys +  1.19 cusr  0.04
csys =  1.25 CPU)
Result: FAIL

(FYI: the same warning that appears at the top of the test output here also
appears when I prove t/db_dependent/Items.t, though that test passes.)

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


More information about the Koha-bugs mailing list