portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r931740 - /portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/administration/PortalAdministrationImpl.java
Date Thu, 08 Apr 2010 00:48:50 GMT
Author: taylor
Date: Thu Apr  8 00:48:50 2010
New Revision: 931740

URL: http://svn.apache.org/viewvc?rev=931740&view=rev
Log:
fix an NPE in user registration in /ui pipeline

Modified:
    portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/administration/PortalAdministrationImpl.java

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/administration/PortalAdministrationImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/administration/PortalAdministrationImpl.java?rev=931740&r1=931739&r2=931740&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/administration/PortalAdministrationImpl.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/administration/PortalAdministrationImpl.java
Thu Apr  8 00:48:50 2010
@@ -621,6 +621,10 @@ public class PortalAdministrationImpl im
      */
     private String invokeGetUserFolderPath(final User user, final Locale locale, final String
serverName) throws Exception
     {
+    	if (config.getString(PortalConfigurationConstants.JETUI_CUSTOMIZATION_METHOD).equals(PortalConfigurationConstants.JETUI_CUSTOMIZATION_AJAX))
+    	{
+        	return Folder.USER_FOLDER + user.getName();    		
+    	}
         Object doneAs = JSSubject.doAsPrivileged(userManager.getSubject(user), new PrivilegedAction()
         {
             public Object run() 



---------------------------------------------------------------------
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