[Koha-bugs] [Bug 18748] New: Noisy t/db_dependent/AuthorisedValues.t

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 7 18:52:40 CEST 2017


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

            Bug ID: 18748
           Summary: Noisy t/db_dependent/AuthorisedValues.t
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Test Suite
          Assignee: chris at bigballofwax.co.nz
          Reporter: mtompset at hotmail.com
        QA Contact: gmcharlt at gmail.com

prove t/db_dependent/AuthorisedValues.t

DBD::mysql::st execute failed: Duplicate entry 'ACQ-952-c' for key 'PRIMARY'
[for Statement "INSERT INTO `marc_subfield_structure` ( `authorised_value`,
`frameworkcode`, `kohafield`, `tagfield`, `tagsubfield`) VALUES ( ?, ?, ?, ?, ?
)" with ParamValues: 0='LOC', 1='ACQ', 2='items.location', 3=952, 4='c'] at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.
DBIx::Class::Storage::DBI::_dbh_execute(): Duplicate entry 'ACQ-952-c' for key
'PRIMARY' at /home/mtompset/kohaclone/Koha/Object.pm line 121
    # Child (search_by_*_field + find_by_koha_field + get_description) exited
without calling finalize()
not ok 15 - search_by_*_field + find_by_koha_field + get_description

Seems that bug 17249 adds both a 952$c for the '' and 'ACQ' framework, but the
deletes above only delete the '' framework one.

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


More information about the Koha-bugs mailing list