portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r1734629 - /portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java
Date Fri, 11 Mar 2016 21:01:03 GMT
Author: taylor
Date: Fri Mar 11 21:01:03 2016
New Revision: 1734629

URL: http://svn.apache.org/viewvc?rev=1734629&view=rev
Log:
JS2-1350: wrong profile locators assigned to new users

Modified:
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java?rev=1734629&r1=1734628&r2=1734629&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java
(original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/java/org/apache/jetspeed/portlets/security/JetspeedPrincipalManagementPortlet.java
Fri Mar 11 21:01:03 2016
@@ -29,6 +29,7 @@ import org.apache.jetspeed.portlets.wick
 import org.apache.jetspeed.portlets.wicket.component.CheckBoxPropertyColumn;
 import org.apache.jetspeed.portlets.wicket.component.JavascriptEventConfirmation;
 import org.apache.jetspeed.portlets.wicket.component.PortletOddEvenItem;
+import org.apache.jetspeed.profiler.ProfileLocator;
 import org.apache.jetspeed.profiler.Profiler;
 import org.apache.jetspeed.profiler.rules.PrincipalRule;
 import org.apache.jetspeed.profiler.rules.ProfilingRule;
@@ -801,7 +802,7 @@ public class JetspeedPrincipalManagement
                             
                             if (profilingRule != null)
                             {
-                                profiler.setRuleForPrincipal(principal, profilingRule, "default");
+                                profiler.setRuleForPrincipal(principal, profilingRule, ProfileLocator.PAGE_LOCATOR);
                             }
                             else
                             {
@@ -814,7 +815,7 @@ public class JetspeedPrincipalManagement
                             
                             if (defaultProfilingRule != null)
                             {
-                                profiler.setRuleForPrincipal(principal, defaultProfilingRule,
"default");
+                                profiler.setRuleForPrincipal(principal, defaultProfilingRule,
ProfileLocator.PAGE_LOCATOR);
                             }
                             else
                             {



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