Bug #3190
closedprofile names with spaces and special characters are a problem
0%
Description
Morpho and the online account creation tool allows users to create a profile name with special characters or spaces. I have seen accounts that use spaces or special characters have problems with saving and working with data packages.
A data package created with a profile name that has a space in it will save locally but when you try to save it to the network you get the following error.
Name: action => insert
Name: public => no
message from server:
<error>
cvc-datatype-valid.1.2.1: 'ecogrid://knb/test space.3.1' is not a valid 'anyURI' value.
</error>
MetacatUpload Exception in EML200DataPackage!
<error>
cvc-datatype-valid.1.2.1: 'ecogrid://knb/test space.3.1' is not a valid 'anyURI' value.
</error>
Problem Saving
<error>
cvc-datatype-valid.1.2.1: 'ecogrid://knb/test space.3.1' is not a valid 'anyURI' value.
</error>
Perhaps we need to create a constraint for allowable profile names. The least that can be done is note that the spaces or special characters should not be used for profile names. I have seen this problem a number of times.
Updated by Callie Bowdish over 16 years ago
Spaces #, comma, -, &, * (, + can cause problems if part of a profile
Updated by Callie Bowdish over 16 years ago
Spaces #, comma, -, &, * (, + can cause problems if part of a profile
Updated by Jing Tao about 16 years ago
Add code in ProfileDialog.java to check those character. However, we check the identifier prefix value, not profile name.