Creating a new metadata schema with a namespace containing a period throws an error
Describe the bug It is impossible to create a new metadata schema from the UI when the namespace fields contains a period. Periods are very common in the namespace field as typical values used there, are uris.
To Reproduce Steps to reproduce the behavior:
- Go to /admin/registries/metadata
- Try to add a new metadata schema with a namespace that contains a period, for example the value "datacite.org"
Expected behavior Periods should be accepted in namespace values for metadata schemas.
Related work We've introduced protection against creating metadata fields that contain a period in the name in here: https://github.com/DSpace/dspace-angular/pull/2177
It seems like this "protection" is inadvertently also applied on the namespace field in the creation dialog for a new namespace.
Moving this to dspace-angular as it sounds like a frontend bug accidentally caused by https://github.com/DSpace/dspace-angular/pull/2177 ?
Once it's moved, I'll add this to the 7.6.x board in search of a volunteer.
Atmire would like to claim this issue
Thanks @alexandrevryghem ! Assigning this to you for you/Atmire to work on.