diff options
author | Maria Odea B. Ching <oching@apache.org> | 2008-05-23 07:09:02 +0000 |
---|---|---|
committer | Maria Odea B. Ching <oching@apache.org> | 2008-05-23 07:09:02 +0000 |
commit | a6e8d6158c2c2352f159330bd136ffefa3e144ad (patch) | |
tree | 397941b0d709742d34fd3dac503435da2e0449a0 | |
parent | a83e5b52a9c66417c4a68da34dcf10fedba5d6cb (diff) | |
download | archiva-a6e8d6158c2c2352f159330bd136ffefa3e144ad.tar.gz archiva-a6e8d6158c2c2352f159330bd136ffefa3e144ad.zip |
[MRM-796]
applied patch submitted by John Michael Luy
-fix releases checkbox always enabled
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@659460 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/EditManagedRepositoryAction.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/EditManagedRepositoryAction.java b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/EditManagedRepositoryAction.java index 84ae6ad58..ade35bb7f 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/EditManagedRepositoryAction.java +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/repositories/EditManagedRepositoryAction.java @@ -55,6 +55,11 @@ public class EditManagedRepositoryAction { repository = archivaConfiguration.getConfiguration().findManagedRepositoryById( repoid ); } + else if ( repository != null ) + { + repository.setReleases( false ); + repository.setScanned( false ); + } } public String input() |