Bugzilla – Attachment 165748 Details for
Bug 35993
AddBiblio should add 005 just like ModBiblio updates it
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35993: (follow-up) Fix MarcOverlayRules.t too
Bug-35993-follow-up-Fix-MarcOverlayRulest-too.patch (text/plain), 1.67 KB, created by
Marcel de Rooy
on 2024-04-29 14:36:40 UTC
(
hide
)
Description:
Bug 35993: (follow-up) Fix MarcOverlayRules.t too
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-04-29 14:36:40 UTC
Size:
1.67 KB
patch
obsolete
>From 838d86948bf7de81e3f4180460d569cfa3a8c24f Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 29 Apr 2024 14:35:41 +0000 >Subject: [PATCH] Bug 35993: (follow-up) Fix MarcOverlayRules.t too >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/Biblio/MarcOverlayRules.t | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/t/db_dependent/Biblio/MarcOverlayRules.t b/t/db_dependent/Biblio/MarcOverlayRules.t >index dc66860a8b..2e0b1990c6 100755 >--- a/t/db_dependent/Biblio/MarcOverlayRules.t >+++ b/t/db_dependent/Biblio/MarcOverlayRules.t >@@ -769,6 +769,9 @@ subtest 'context option in ModBiblio is handled correctly' => sub { > [ '500', 'a', 'One bottle of beer in the fridge' ], # original > [ '999', 'c', $biblionumber, 'd', $biblioitemnumber ], # created by AddBiblio > ]); >+ $expected_record->insert_fields_ordered( >+ MARC::Field->new( '005', $saved_record->field('005')->data ), >+ ); # simulate same timestamp > > # Make sure leader is equal after AddBiblio > $expected_record->leader($saved_record->leader()); >@@ -795,6 +798,9 @@ subtest 'context option in ModBiblio is handled correctly' => sub { > [ '500', 'a', 'One cold bottle of beer in the fridge' ], > [ '999', 'c', $biblionumber, 'd', $biblioitemnumber ], # created by AddBiblio > ]); >+ $expected_record->insert_fields_ordered( >+ MARC::Field->new( '005', $saved_record->field('005')->data ), >+ ); # simulate same timestamp > > # Make sure leader is equal after ModBiblio > $expected_record->leader($updated_record->leader()); >-- >2.30.2
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 35993
:
161761
|
161762
|
161776
|
161777
|
161778
|
161805
|
161992
|
161993
|
161994
|
161995
|
165271
|
165272
|
165370
|
165371
|
165746
| 165748 |
166063