OAI-PMH - Config repository name extra space

Bug #2030523 reported by Josh Stompro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Committed
Low
Unassigned
3.10
Fix Committed
Low
Unassigned

Bug Description

EG 3.11

I was testing out the OAI-PMH support and tried to set a repository name value in the opensrf.xml. The value that I set wasn't showing up in a Identify request. But other changes were showing up. I think there is an errant space in the WWW/SuperCat/OAI.pm file where the default value for repository_name is checked.

$repository_name = $app_settings->{'repository_name '} || 'A name';

Removing the space fixes the issue for me.

Working branch on the way.
Josh

Revision history for this message
Josh Stompro (u-launchpad-stompro-org) wrote :
tags: added: pullrequest supercat
Changed in evergreen:
status: New → Confirmed
Revision history for this message
Jane Sandberg (sandbergja) wrote :

Great catch, thanks, Josh! Merged to rel_3_10 and above.

Changed in evergreen:
status: Confirmed → Fix Committed
importance: Undecided → Low
milestone: none → 3.11.2
tags: added: signedoff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.