[gatein-commits] gatein SVN: r4904 - portal/trunk/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Nov 2 06:58:52 EDT 2010


Author: thomas.heute at jboss.com
Date: 2010-11-02 06:58:51 -0400 (Tue, 02 Nov 2010)
New Revision: 4904

Modified:
   portal/trunk/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component/UIUserToolBarDashboardPortlet.gtmpl
Log:
GTNPORTAL-1596: NullPointerException in UIUserToolBarDashboardPortlet.gtmpl if no navigation.xml created for a LDAP user


Modified: portal/trunk/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component/UIUserToolBarDashboardPortlet.gtmpl
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component/UIUserToolBarDashboardPortlet.gtmpl	2010-11-02 10:51:31 UTC (rev 4903)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component/UIUserToolBarDashboardPortlet.gtmpl	2010-11-02 10:58:51 UTC (rev 4904)
@@ -91,7 +91,7 @@
 
 <% 
 	String defaultDashboardPage;				
-	if(currentUserNavigation.getNodes() ==null || currentUserNavigation.getNodes().size() < 1){ 
+	if(currentUserNavigation == null || currentUserNavigation.getNodes() == null || currentUserNavigation.getNodes().size() < 1){ 
 		defaultDashboardPage = org.exoplatform.toolbar.webui.component.UIUserToolBarDashboardPortlet.DEFAULT_TAB_NAME;
 %>
 	<div class="UIUserToolBarDashboardPortlet" id="$uicomponent.id">	



More information about the gatein-commits mailing list