Bugzilla – Attachment 58046 Details for
Bug 17196
Move marcxml out of the biblioitems table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 17196: follow-up for bug 17088
0008-Bug-17196-follow-up-for-bug-17088.patch (text/plain), 1.44 KB, created by
Zeno Tajoli
on 2016-12-08 10:04:27 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 17196: follow-up for bug 17088
Filename:
MIME Type:
Creator:
Zeno Tajoli
Created:
2016-12-08 10:04:27 UTC
Size:
1.44 KB
patch
obsolete
>From f6fe98d4ab1978fcbbf1963a01a1dc87204b6ba4 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 4 Oct 2016 15:19:13 +0100 >Subject: [PATCH] [SIGNED-OFF 08/10] Bug 17196: follow-up for bug 17088 > >If bug 17088 is pushed first, we will need this patch. > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >Signed-off-by: Zeno Tajoli <z.tajoli@cineca.it> >--- > t/db_dependent/Exporter/Record.t | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Exporter/Record.t b/t/db_dependent/Exporter/Record.t >index 367838f..6f64b25 100644 >--- a/t/db_dependent/Exporter/Record.t >+++ b/t/db_dependent/Exporter/Record.t >@@ -34,6 +34,7 @@ use Koha::Database; > use Koha::Biblio; > use Koha::Biblioitem; > use Koha::Exporter::Record; >+use Koha::Biblio::Metadatas; > > my $schema = Koha::Database->new->schema; > $schema->storage->txn_begin; >@@ -58,7 +59,7 @@ $biblio_2->append_fields( > my ($biblionumber_2, $biblioitemnumber_2) = AddBiblio($biblio_2, ''); > > my $bad_biblio = Koha::Biblio->new()->store(); >-my $bad_biblioitem = Koha::Biblioitem->new( { biblionumber => $bad_biblio->id, marcxml => 'something wrong' } )->store(); >+Koha::Biblio::Metadata->new( { biblionumber => $bad_biblio->id, format => 'marcxml', metadata => 'something wrong', marcflavour => C4::Context->preference('marcflavour') } )->store(); > my $bad_biblionumber = $bad_biblio->id; > > my $builder = t::lib::TestBuilder->new; >-- >2.1.4 >
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 17196
:
54910
|
54911
|
54912
|
54913
|
54914
|
54918
|
55856
|
55857
|
55858
|
55859
|
55860
|
55904
|
55905
|
55906
|
55907
|
55908
|
55921
|
55922
|
55950
|
55951
|
56038
|
57835
|
57836
|
57837
|
57838
|
57839
|
57840
|
57841
|
57842
|
58000
|
58007
|
58008
|
58023
|
58024
|
58025
|
58026
|
58027
|
58028
|
58029
|
58030
|
58031
|
58032
|
58037
|
58038
|
58039
|
58040
|
58041
|
58042
|
58043
|
58044
|
58045
|
58046
|
58047
|
58048
|
58504
|
58505
|
58506
|
58507
|
58508
|
58509
|
58510
|
58511
|
58512
|
58513
|
58514
|
58516
|
58517
|
58923
|
58924
|
58925
|
58926
|
58927
|
58928
|
58929
|
58930
|
58931
|
58932
|
58933
|
58934
|
58935
|
58936
|
58937
|
58938
|
58939
|
58943
|
58946
|
58947