mirror of https://github.com/apache/archiva.git
[MRM-1451] NPE when merging through XMLRPC
* applied patch Patch Submitted by: Maria Catherine Tan * passed metadataRepository instead of null during merge git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1064082 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
13609a81fe
commit
55d4b5c3af
|
@ -529,12 +529,12 @@ public class AdministrationServiceImpl
|
||||||
sourceArtifacts.removeAll( conflicts );
|
sourceArtifacts.removeAll( conflicts );
|
||||||
|
|
||||||
log.debug( "Source artifacts size :: " + sourceArtifacts.size() );
|
log.debug( "Source artifacts size :: " + sourceArtifacts.size() );
|
||||||
mergeWithOutSnapshots( sourceArtifacts, stagingId, repoId, null );
|
mergeWithOutSnapshots( sourceArtifacts, stagingId, repoId, metadataRepository );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
log.debug( "Source artifacts size :: " + sourceArtifacts.size() );
|
log.debug( "Source artifacts size :: " + sourceArtifacts.size() );
|
||||||
mergeWithOutSnapshots( sourceArtifacts, stagingId, repoId, null );
|
mergeWithOutSnapshots( sourceArtifacts, stagingId, repoId, metadataRepository );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue