[Koha-bugs] [Bug 23807] Add Koha::Item->as_marc_field

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 13 09:30:27 CET 2020


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

--- Comment #11 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Any good reasons to have called GetMarcSubfieldStructure with the unsafe flag
set?

% grep unsafe t/db_dependent/Koha/Item.t
    my $mss = C4::Biblio::GetMarcSubfieldStructure( '', { unsafe => 1 } );
    $mss = C4::Biblio::GetMarcSubfieldStructure( '', { unsafe => 0 } );

Unsafe from tests don't feel safe :)

I am seeing some tests failing (when run twice) because of it.

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


More information about the Koha-bugs mailing list