Bugzilla – Attachment 174913 Details for
Bug 38513
Fix Biblio.t for Koha_Main_My8 test configuration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38513: Fix Biblio.t for Koha_Main_My8
Bug-38513-Fix-Bibliot-for-KohaMainMy8.patch (text/plain), 1.52 KB, created by
Marcel de Rooy
on 2024-11-22 08:32:30 UTC
(
hide
)
Description:
Bug 38513: Fix Biblio.t for Koha_Main_My8
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-11-22 08:32:30 UTC
Size:
1.52 KB
patch
obsolete
>From 22680bd0d6f81dbd662d495b18e3d3bf3deb0161 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 22 Nov 2024 08:28:46 +0000 >Subject: [PATCH] Bug 38513: Fix Biblio.t for Koha_Main_My8 >Content-Type: text/plain; charset=utf-8 > >This should do the tric: The test output shows that the second >mapping was not found (field 264); also the expected suspect btw. >So adding that here. > >Test plan: >Run t/db_dependent/Biblio.t >See also comment28 on bug 19097. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Simulated the above by removing 264c from Koha to MARC mapping. >--- > t/db_dependent/Biblio.t | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/t/db_dependent/Biblio.t b/t/db_dependent/Biblio.t >index 3e3c6d4a1e..d3b9d142e4 100755 >--- a/t/db_dependent/Biblio.t >+++ b/t/db_dependent/Biblio.t >@@ -124,6 +124,11 @@ subtest 'AddBiblio' => sub { > subtest 'GetMarcSubfieldStructureFromKohaField' => sub { > plan tests => 27; > >+ # Add second mapping for copyrightdate >+ Koha::MarcSubfieldStructures->search({ frameworkcode => '', tagfield => '264', tagsubfield => 'c' })->delete; >+ Koha::MarcSubfieldStructure->new({ frameworkcode => '', tagfield => '264', tagsubfield => 'c', kohafield => "biblio.copyrightdate" })->store; >+ Koha::Caches->get_instance->clear_from_cache( "MarcSubfieldStructure-" ); >+ > my @columns = qw( > tagfield tagsubfield liblibrarian libopac repeatable mandatory kohafield tab > authorised_value authtypecode value_builder isurl hidden frameworkcode >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38513
: 174913