mirror of https://github.com/apache/archiva.git
[MRM-1137] ensure error message is correct if upload size is violated
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@756888 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3457a487f1
commit
566d5d73bb
|
@ -549,7 +549,7 @@ public class UploadAction
|
|||
addActionError( "Please add a file to upload." );
|
||||
}
|
||||
|
||||
if ( !VersionUtil.isVersion( version ) )
|
||||
if ( version == null || !VersionUtil.isVersion( version ) )
|
||||
{
|
||||
addActionError( "Invalid version." );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue