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

Fridolin SOMERS <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |m

--- Comment #11 from Fridolin SOMERS <[email protected]> ---
Testing on 17.05.x, I get a crash :

$ prove t/db_dependent/Biblio/TransformKohaToMarc.t 
t/db_dependent/Biblio/TransformKohaToMarc.t .. DBIx::Class::ResultSet::find():
find() expects either a column/value hashref, or a list of values corresponding
to the columns of the specified unique constraint 'primary' at
/home/koha/src/Koha/Objects.pm line 83
# Looks like your test exited with 255 before it could output anything.
t/db_dependent/Biblio/TransformKohaToMarc.t .. Dubious, test returned 255
(wstat 65280, 0xff00)
Failed 1/1 subtests 

Test Summary Report
-------------------
t/db_dependent/Biblio/TransformKohaToMarc.t (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
Files=1, Tests=0,  1 wallclock secs ( 0.02 usr  0.00 sys +  0.71 cusr  0.04
csys =  0.77 CPU)
Result: FAIL

Looks like Koha::MarcSubfieldStructures->find('','300','b') crashed.
May I use Koha::MarcSubfieldStructures->search( { frameworkcode => '', tagfield
=> '300', tagsubfield => 'a' } ) like in AuthorisedValues.t ?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to