From 509adc4e9938fae9374c8191f9bb74d3337b9f06 Mon Sep 17 00:00:00 2001 From: Emmanuel Venisse Date: Tue, 19 Dec 2006 08:53:38 +0000 Subject: [PATCH] [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 --- .../action/admin/ConfigureRepositoryAction-validation.xml | 7 ++++++- .../WEB-INF/jsp/admin/include/managedRepositoryForm.jspf | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) 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*: - + -- 2.39.5