Validate that the site Short Name isn't too long during creation, and throw a helpful exception if it is. (Site Short Names get used in Authority Names, which are limited by the DB model to 100 characters)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@38101 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2012-06-20 23:06:09 +00:00
parent ae19fb057e
commit 428f8ddbbc
2 changed files with 12 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
# Site service externalised display strings
site_service.unable_to_create=Unable to create site because the site short name {0} is already in use. Site short names must be unique.
site_service.short_name_too_long=Unable to create site because the site short name {0} is too long. Site short names can be no longer than {1} characters.
site_service.visibility_group_missing=Unable to create site because the visibility group {0} does not exist.
site_service.can_not_update=Cannot update site {0} because it does not exist.
site_service.can_not_delete=Cannot delete site {0} because it does not exist.