Bugzilla – Attachment 159630 Details for
Bug 35104
We should warn when attempting to save MARC records that contain characters invalid in XML
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35104: Fix typo when catching exception
Bug-35104-Fix-typo-when-catching-exception.patch (text/plain), 903 bytes, created by
David Cook
on 2023-12-07 06:27:45 UTC
(
hide
)
Description:
Bug 35104: Fix typo when catching exception
Filename:
MIME Type:
Creator:
David Cook
Created:
2023-12-07 06:27:45 UTC
Size:
903 bytes
patch
obsolete
>From ef4113c3c9dad4a7934eb7c506a4f3f64951d977 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Thu, 7 Dec 2023 06:27:22 +0000 >Subject: [PATCH] Bug 35104: Fix typo when catching exception > >--- > cataloguing/addbiblio.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl >index f8b993b661..52fe2e76e4 100755 >--- a/cataloguing/addbiblio.pl >+++ b/cataloguing/addbiblio.pl >@@ -701,7 +701,7 @@ if ( $op eq "addbiblio" ) { > } catch { > warn "Caught exception"; > my $exception = $_; >- if ( ref($error) eq 'Koha::Exceptions::Metadata::Invalid' ) { >+ if ( ref($exception) eq 'Koha::Exceptions::Metadata::Invalid' ) { > warn "Found invalid metadata"; > $template->param( INVALID_METADATA => $exception ); > } else { >-- >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 35104
:
157625
|
157627
|
157628
|
157642
|
159615
|
159620
|
159621
|
159630
|
159810
|
159811
|
159812
|
159813
|
166431
|
173145
|
173146