From: Brett Porter Date: Thu, 30 Dec 2010 01:14:52 +0000 (+0000) Subject: [MRM-1327] save changes after metadata is added / removed X-Git-Tag: archiva-1.4-M1~847 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bf3058dbeb8d735072d51a180d794d7346a21b4a;p=archiva.git [MRM-1327] save changes after metadata is added / removed git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053779 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java index dfa486870..f2d8fa610 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java @@ -363,6 +363,7 @@ public class ShowArtifactAction try { updateProjectMetadata( projectMetadata, metadataRepository ); + repositorySession.save(); } catch ( MetadataRepositoryException e ) { @@ -415,6 +416,7 @@ public class ShowArtifactAction try { updateProjectMetadata( projectMetadata, metadataRepository ); + repositorySession.save(); } catch ( MetadataRepositoryException e ) {