Bug 28875

Summary: 500 ISE when saving OAI-PMH:ConfFile
Product: Koha Reporter: Magnus Enger <magnus>
Component: System AdministrationAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, jonathan.druart
Version: 20.11   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Screenshot of 500 response

Description Magnus Enger 2021-08-18 08:25:48 UTC
Created attachment 123922 [details]
Screenshot of 500 response

On 20.11.05, when I try to set OAI-PMH:ConfFile to the path of a file (e.g. /home/me/file.yalm), I get the message "Internal Server Error, please reload the page". This error comes because /cgi-bin/koha/svc/config/systempreferences/ gives a 500 Internal Server Error response. 

I have tried reloading the page, logging in and out etc, but the error is still there. 

The logs do not get anything at all when the 500 response happens, which seems weird.
Comment 1 Magnus Enger 2021-08-18 08:26:50 UTC
Oh, and if i enter some random string like "dfdf" it saves just fine, so it might be the slashes ("/") that cause problems?
Comment 2 Jonathan Druart 2021-08-18 15:08:30 UTC
Works for me on master and v20.11.05
Comment 3 Jonathan Druart 2021-10-19 09:59:34 UTC
Please provide more details if it's still valid.