[MRM-1698] proxy connector update are not saved.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1399017 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-10-16 22:04:46 +00:00
parent 1bdb2ec770
commit 6ed4fc14c3
1 changed files with 1 additions and 0 deletions

View File

@ -143,6 +143,7 @@ public class DefaultProxyConnectorAdmin
findProxyConnector( proxyConnector.getSourceRepoId(), proxyConnector.getTargetRepoId(), configuration );
configuration.removeProxyConnector( proxyConnectorConfiguration );
configuration.addProxyConnector( getProxyConnectorConfiguration( proxyConnector ) );
saveConfiguration( configuration );
triggerAuditEvent( proxyConnector.getSourceRepoId() + "-" + proxyConnector.getTargetRepoId(), null,
AuditEvent.MODIFY_PROXY_CONNECTOR, auditInformation );
return Boolean.TRUE;