diff options
author | Brett Porter <brett@apache.org> | 2010-12-30 01:14:52 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2010-12-30 01:14:52 +0000 |
commit | bf3058dbeb8d735072d51a180d794d7346a21b4a (patch) | |
tree | 3bac68e785f5d03baffef7f535045b6f0e14abf1 /archiva-modules | |
parent | 8c5de76d3b0866caa995637d85c04388ad445a6f (diff) | |
download | archiva-bf3058dbeb8d735072d51a180d794d7346a21b4a.tar.gz archiva-bf3058dbeb8d735072d51a180d794d7346a21b4a.zip |
[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
Diffstat (limited to 'archiva-modules')
-rw-r--r-- | archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java | 2 |
1 files changed, 2 insertions, 0 deletions
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 ) { |