You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2010/04/08 02:48:50 UTC
svn commit: r931740 -
/portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/administration/PortalAdministrationImpl.java
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