[gatein-commits] gatein SVN: r4976 - epp/portal/branches/EPP_5_1_Branch/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Nov 9 03:34:23 EST 2010


Author: thomas.heute at jboss.com
Date: 2010-11-09 03:34:22 -0500 (Tue, 09 Nov 2010)
New Revision: 4976

Modified:
   epp/portal/branches/EPP_5_1_Branch/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component/UIUserToolBarDashboardPortlet.gtmpl
Log:
JBEPP-579: NullPointerException in UIUserToolBarDashboardPortlet.gtmpl if no navigation.xml created for a LDAP user


Modified: epp/portal/branches/EPP_5_1_Branch/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component/UIUserToolBarDashboardPortlet.gtmpl
===================================================================
--- epp/portal/branches/EPP_5_1_Branch/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component/UIUserToolBarDashboardPortlet.gtmpl	2010-11-09 08:26:30 UTC (rev 4975)
+++ epp/portal/branches/EPP_5_1_Branch/portlet/exoadmin/src/main/webapp/groovy/admintoolbar/webui/component/UIUserToolBarDashboardPortlet.gtmpl	2010-11-09 08:34:22 UTC (rev 4976)
@@ -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