Bugzilla – Attachment 168468 Details for
Bug 37235
Download single authority results in 500 error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37235: Fix export of single authority record
Bug-37235-Fix-export-of-single-authority-record.patch (text/plain), 1.34 KB, created by
Owen Leonard
on 2024-07-03 18:02:45 UTC
(
hide
)
Description:
Bug 37235: Fix export of single authority record
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2024-07-03 18:02:45 UTC
Size:
1.34 KB
patch
obsolete
>From 5cfc8ccaf8f4cd47a1115b34d6eafb424ed755ec Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 3 Jul 2024 17:46:50 +0000 >Subject: [PATCH] Bug 37235: Fix export of single authority record > >When viewing an authority record, you have the option to "Save" in >several different formats. This operation is a GET operation and the >script should not be looking for a "cud-" operation. > >To test you should have at least one authority record. > >- Apply the patch and go to Authorities. >- Perform an authority search which will return one or more records. >- View the details of an authority record. >- From the toolbar, test the "Save" option* > >* Note: In my test the export choice "MADS (XML)" resulted in a > zero-byte file but I'm assuming that is a separate issue. > >Sponsored-by: Athens County Public Libraries >--- > authorities/export.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/authorities/export.pl b/authorities/export.pl >index 70a5157140..0703da840b 100755 >--- a/authorities/export.pl >+++ b/authorities/export.pl >@@ -20,7 +20,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( > my $op = $query->param("op"); > my $format = $query->param("format"); > my $error = ''; >-if ( $op eq "cud-export" ) { >+if ( $op eq "export" ) { > my $authid = $query->param("authid"); > if ($authid) { > >-- >2.39.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 37235
:
168468
|
168469
|
168551