Bugzilla – Attachment 167939 Details for
Bug 37145
Koha ERM data provider name search broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37145: Koha ERM data provider name search broken
Bug-37145-Koha-ERM-data-provider-name-search-broke.patch (text/plain), 1.24 KB, created by
Kyle M Hall (khall)
on 2024-06-20 16:57:08 UTC
(
hide
)
Description:
Bug 37145: Koha ERM data provider name search broken
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2024-06-20 16:57:08 UTC
Size:
1.24 KB
patch
obsolete
>From 7040a0ed72ffdf529ec2f14368948e98d4ee8b1f Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 20 Jun 2024 12:54:31 -0400 >Subject: [PATCH] Bug 37145: Koha ERM data provider name search broken > >This is broken because the FQDN for the service has changed and we do not handle the 301 gracefully. > >Test Plan: >1) Browser to ERM / eUsage / Data roviders >2) Click "New data provider" >3) Start typing anything into "Data provider name" >4) Note the error: "Something went wrong: Error: Internal Server Error." >5) Apply this patch >6) Restart all the things! >7) Repeat step 3 >8) No error! >--- > Koha/REST/V1/ERM/EUsage/CounterRegistry.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/REST/V1/ERM/EUsage/CounterRegistry.pm b/Koha/REST/V1/ERM/EUsage/CounterRegistry.pm >index d29ebd29a82..3804b79749e 100644 >--- a/Koha/REST/V1/ERM/EUsage/CounterRegistry.pm >+++ b/Koha/REST/V1/ERM/EUsage/CounterRegistry.pm >@@ -47,7 +47,7 @@ sub list { > > my $search_string = $query_params_array[0]->{name}; > >- my $url = 'https://registry.projectcounter.org/api/v1/platform/'; >+ my $url = 'https://registry.countermetrics.org/api/v1/platform/'; > my $request = HTTP::Request->new( > GET => $url, > ); >-- >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 37145
: 167939