Hi all.
We had some trouble in the past with custom metadata blocks that contain datasetField names and other columns with trailing or leading spaces. Those have been coming back to haunt us during every update of Dataverse when creating a new SOLR schema, making some fields unavailable. To prevent this in the future, we would be happy to provide a PR to add whitespace trimming to the code that parses metadata blocks when they are passed to the api/admin/datasetfield/load API. Can we open an Issue and corresponding PR for that? @Eva Roddeck has already been working on some code solving this problem.
Yes, please start with an issue. I'll make sure other developers see it and I'll reply here if there is any objection to a PR (which I doubt). Thanks!
Done! Opened the issue: https://github.com/IQSS/dataverse/issues/10688
Looks great! Thanks! :heart:
Last updated: Nov 01 2025 at 14:11 UTC