From bf3058dbeb8d735072d51a180d794d7346a21b4a Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Thu, 30 Dec 2010 01:14:52 +0000 Subject: [PATCH] [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 --- .../org/apache/maven/archiva/web/action/ShowArtifactAction.java | 2 ++ 1 file changed, 2 insertions(+) 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 ) { -- 2.39.5