mirror of https://github.com/apache/archiva.git
[MRM-580] Web app does not give error message when one defines an illegal directory for a Managed Repository
-merged from trunk -r697047 git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-1.1.x@697061 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ca422b2be8
commit
3828939a86
|
@ -69,7 +69,7 @@ public abstract class AbstractManagedRepositoriesAction
|
|||
}
|
||||
if ( !file.exists() || !file.isDirectory() )
|
||||
{
|
||||
throw new IOException( "unable to add repository - can not create the root directory: " + file );
|
||||
throw new IOException( "Unable to add repository - no write access, can not create the root directory: " + file );
|
||||
}
|
||||
|
||||
configuration.addManagedRepository( repository );
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<h1>Admin: Add Managed Repository</h1>
|
||||
|
||||
<div id="contentArea">
|
||||
|
||||
<ww:actionerror/>
|
||||
<ww:actionmessage/>
|
||||
<ww:form method="post" action="addRepository!commit" namespace="/admin" validate="true">
|
||||
<ww:textfield name="repository.id" label="Identifier" size="10" required="true"/>
|
||||
|
|
Loading…
Reference in New Issue