Bug 40570

Summary: CSVDelimiter syspref will not display "commas" when set to ","
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: System AdministrationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: anneli.osterman, gmcharlt
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Andrew Fuerste-Henry 2025-07-31 19:35:36 UTC
When the syspref CSVDelimiter is set to "," koha will tell the user it's actually set to "#". We must not have escaped something properly.

To recreate:
- set CSVDelimiter to "commas"
- reload the page
- see the syspref says "#'s" instead
- inspect the dropdown, see no value is designated as selected in the html
- in reports, SELECT * FROM systempreferences WHERE variable='CSVDelimited'
- see the value = ,

- set CSVDelimiter to "slashes"
- reload the page
- see the syspref correctly says "slashes"
- inspect the dropdown, see "slashes" is selected
Comment 1 Anneli Österman 2025-08-06 12:27:49 UTC
This happens also in version 24.05.