Project

General

Profile

Bug #3190

profile names with spaces and special characters are a problem

Added by Callie Bowdish over 11 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
03/27/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3190

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.

History

#1 Updated by Callie Bowdish about 11 years ago

Spaces #, comma, -, &, * (, + can cause problems if part of a profile

#2 Updated by Callie Bowdish about 11 years ago

Spaces #, comma, -, &, * (, + can cause problems if part of a profile

#3 Updated by Jing Tao about 11 years ago

Add code in ProfileDialog.java to check those character. However, we check the identifier prefix value, not profile name.

#4 Updated by Jing Tao about 10 years ago

move to 1.7

#5 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 3190

Also available in: Atom PDF