From: Emmanuel Venisse Date: Tue, 19 Dec 2006 08:53:38 +0000 (+0000) Subject: [MRM-253] Don't allow empty repository name X-Git-Tag: archiva-0.9-alpha-1~209 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=509adc4e9938fae9374c8191f9bb74d3337b9f06;p=archiva.git [MRM-253] Don't allow empty repository name Submitted by: Allan Ramirez git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@488586 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureRepositoryAction-validation.xml b/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureRepositoryAction-validation.xml index 7bc822e73..2510a4bd3 100644 --- a/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureRepositoryAction-validation.xml +++ b/archiva-webapp/src/main/resources/org/apache/maven/archiva/web/action/admin/ConfigureRepositoryAction-validation.xml @@ -24,6 +24,11 @@ You must enter the repository identifier. + + + You must enter the url name. + + You must enter the repository name. @@ -40,4 +45,4 @@ Invalid repository type. - \ No newline at end of file + diff --git a/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/include/managedRepositoryForm.jspf b/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/include/managedRepositoryForm.jspf index 72f4c3bf6..bf4512ef9 100644 --- a/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/include/managedRepositoryForm.jspf +++ b/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/include/managedRepositoryForm.jspf @@ -20,10 +20,10 @@ - URL Name: + URL Name*: - +