add FIXME

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1384146 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-09-12 22:17:22 +00:00
parent a7118ea32c
commit 53d662e5d9
1 changed files with 3 additions and 0 deletions

View File

@ -192,6 +192,9 @@ public abstract class AbstractRestService
sb.append( "/repository" ); sb.append( "/repository" );
// FIXME when artifact come from a remote repository when have here the remote repo id
// we must replace it with a valid managed one available for the user.
sb.append( '/' ).append( artifact.getContext() ); sb.append( '/' ).append( artifact.getContext() );
sb.append( '/' ).append( StringUtils.replaceChars( artifact.getGroupId(), '.', '/' ) ); sb.append( '/' ).append( StringUtils.replaceChars( artifact.getGroupId(), '.', '/' ) );