continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r508027 - /maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddMavenProjectAction.java
Date Thu, 15 Feb 2007 17:22:40 GMT
Author: evenisse
Date: Thu Feb 15 09:22:39 2007
New Revision: 508027

URL: http://svn.apache.org/viewvc?view=rev&rev=508027
Log:
[CONTINUUM-1160] Fix 'Add project' feature from project group page

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddMavenProjectAction.java

Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddMavenProjectAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddMavenProjectAction.java?view=diff&rev=508027&r1=508026&r2=508027
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddMavenProjectAction.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/AddMavenProjectAction.java
Thu Feb 15 09:22:39 2007
@@ -173,6 +173,13 @@
             //}
         }
 
+        initializeProjectGroupName();
+
+        return INPUT;
+    }
+
+    private void initializeProjectGroupName()
+    {
         if ( disableGroupSelection == true && selectedProjectGroup != DEFINED_BY_POM_GROUP_ID
)
         {
             try
@@ -184,8 +191,6 @@
                 e.printStackTrace();
             }
         }
-
-        return INPUT;
     }
 
     public String getPom()
@@ -271,6 +276,8 @@
     public SecureActionBundle getSecureActionBundle()
         throws SecureActionException
     {
+        initializeProjectGroupName();
+
         SecureActionBundle bundle = new SecureActionBundle();
         bundle.setRequiresAuthentication( true );
 



Mime
View raw message