portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r330388 - /portals/jetspeed-2/trunk/applications/security/src/java/org/apache/jetspeed/portlets/security/users/UserDetailsPortlet.java
Date Wed, 02 Nov 2005 23:51:52 GMT
Author: taylor
Date: Wed Nov  2 15:51:49 2005
New Revision: 330388

URL: http://svn.apache.org/viewcvs?rev=330388&view=rev
Log:
http://issues.apache.org/jira/browse/JS2-395
api change

Modified:
    portals/jetspeed-2/trunk/applications/security/src/java/org/apache/jetspeed/portlets/security/users/UserDetailsPortlet.java

Modified: portals/jetspeed-2/trunk/applications/security/src/java/org/apache/jetspeed/portlets/security/users/UserDetailsPortlet.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/security/src/java/org/apache/jetspeed/portlets/security/users/UserDetailsPortlet.java?rev=330388&r1=330387&r2=330388&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/applications/security/src/java/org/apache/jetspeed/portlets/security/users/UserDetailsPortlet.java
(original)
+++ portals/jetspeed-2/trunk/applications/security/src/java/org/apache/jetspeed/portlets/security/users/UserDetailsPortlet.java
Wed Nov  2 15:51:49 2005
@@ -1068,7 +1068,8 @@
 
                 // TODO: copy the entire dir tree, not just the default-page.psml       
         
                 Page template = pageManager.getPage(templateFolder + "default-page.psml");
               
-                pageManager.clonePage(template, Folder.USER_FOLDER + userName + "/default-page.psml");
               
+                Page copy = pageManager.copyPage(template, Folder.USER_FOLDER + userName
+ "/default-page.psml");
+                pageManager.updatePage(copy);
                 
                 // TODO: send message that site tree portlet invalidated
                 



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message