[Koha-bugs] [Bug 9701] Configure default indicators

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 9 20:32:34 CET 2018


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

Maksim Sen <maksim.sen at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maksim.sen at inlibro.com

--- Comment #32 from Maksim Sen <maksim.sen at inlibro.com> ---
Hey Josef,

I tried doing this test:
prove t/db_dependent/Biblio.t
should be green


Before applying the patches I had this:
prove t/db_dependent/Biblio.t 
t/db_dependent/Biblio.t .. ok   
All tests successful.
Files=1, Tests=9,  2 wallclock secs ( 0.05 usr  0.01 sys +  1.91 cusr  0.09
csys =  2.06 CPU)
Result: PASS


After applying the patches I had this:
prove t/db_dependent/Biblio.t 
t/db_dependent/Biblio.t .. 7/9 DBD::mysql::st execute failed: Unknown column
'ind1_defaultvalue' in 'field list' [for Statement "SELECT
tagfield,liblibrarian,libopac,mandatory,repeatable,ind1_defaultvalue,ind2_defaultvalue
        FROM marc_tag_structure 
        WHERE frameworkcode=? 
        ORDER BY tagfield" with ParamValues: 0=''] at
/inlibro/git/koha-master-dev-inlibro/C4/Biblio.pm line 990.
DBD::mysql::st fetchrow failed: fetch() without execute() [for Statement
"SELECT
tagfield,liblibrarian,libopac,mandatory,repeatable,ind1_defaultvalue,ind2_defaultvalue
        FROM marc_tag_structure 
        WHERE frameworkcode=? 
        ORDER BY tagfield" with ParamValues: 0=''] at
/inlibro/git/koha-master-dev-inlibro/C4/Biblio.pm line 993.

    #   Failed test 'expect 6 internals'
    #   at t/db_dependent/Biblio.t line 436.
    #          got: '0'
    #     expected: '6'

    #   Failed test 'check lib'
    #   at t/db_dependent/Biblio.t line 437.
    #          got: '0'
    #     expected: '1'

    #   Failed test 'check tab'
    #   at t/db_dependent/Biblio.t line 438.
    #          got: '0'
    #     expected: '1'

    #   Failed test 'check mandatory'
    #   at t/db_dependent/Biblio.t line 439.
    #          got: '0'
    #     expected: '1'

    #   Failed test 'check repeatable'
    #   at t/db_dependent/Biblio.t line 440.
    #          got: '0'
    #     expected: '1'

    #   Failed test 'check indicator 1 default value'
    #   at t/db_dependent/Biblio.t line 442.
    #          got: '0'
    #     expected: '1'

    #   Failed test 'check indicator 2 default value'
    #   at t/db_dependent/Biblio.t line 443.
    #          got: '0'
    #     expected: '1'
    # Looks like you failed 7 tests of 8.

#   Failed test 'IsMarcStructureInternal'
#   at t/db_dependent/Biblio.t line 444.
# Looks like you failed 1 test of 9.
t/db_dependent/Biblio.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/9 subtests 

Test Summary Report
-------------------
t/db_dependent/Biblio.t (Wstat: 256 Tests: 9 Failed: 1)
  Failed test:  8
  Non-zero exit status: 1
Files=1, Tests=9,  3 wallclock secs ( 0.05 usr  0.00 sys +  2.01 cusr  0.10
csys =  2.16 CPU)
Result: FAIL

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


More information about the Koha-bugs mailing list