If one enables CSW in a workspace (e.g. test) and fills out the form, an almost correct csw.xml will be created in the data/workspace/test/ but with the same <name></name>-tag as the csw.xml in the data-root (e.g. 'My GeoServer CSW').
Restarting geoserver throws an error in the log:
Failed to load the service configuration in directory: /var/lib/tomcat8/apps/geoserver-2.11.5/data/workspaces/test with loader for interface org.geoserver.csw.CSWInfo
java.lang.IllegalArgumentException: service with name 'My GeoServer CSW' already exists in workspace 'null'
When one stops tomcat and changes the <name></name>-tag of the workspace-csw.xml to a valid name, geoserver starts, does not complain, but CSW is not enabled in the workspace even when the workspace-csw.xml shows <enabled>true</enabled>.
The csw-getCapabilites-request shows the information of the data-root-csw.xml and the data-root-global.xml in both requests (root and workspace).
Linux Ubuntu 16.04 amd64 with tomcat 8.0.32, Geoserver as war.
Is there any chance to get this fixed in the next time?
Thank you very much,