mirror of
https://github.com/apache/archiva.git
synced 2025-02-07 10:39:02 +00:00
[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 void validate()
|
||||
addActionError( "Please add a file to upload." );
|
||||
}
|
||||
|
||||
if ( !VersionUtil.isVersion( version ) )
|
||||
if ( version == null || !VersionUtil.isVersion( version ) )
|
||||
{
|
||||
addActionError( "Invalid version." );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user