mirror of https://github.com/apache/archiva.git
[MRM-1304] fix group ID handling for branch
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910396 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b0bf4f1689
commit
199a251293
|
@ -194,13 +194,14 @@ public class ViewAuditLogReportAction
|
|||
String resource = null;
|
||||
if ( !StringUtils.isEmpty( groupId ) )
|
||||
{
|
||||
String groupIdAsPath = groupId.replace( '.', '/' );
|
||||
if ( StringUtils.isEmpty( artifactId ) )
|
||||
{
|
||||
resource = groupId;
|
||||
resource = groupIdAsPath;
|
||||
}
|
||||
else
|
||||
{
|
||||
resource = groupId + "/" + artifactId;
|
||||
resource = groupIdAsPath + "/" + artifactId;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue