Author: hoang_to
Date: 2010-05-13 07:42:14 -0400 (Thu, 13 May 2010)
New Revision: 3082
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/PageNavigationUtils.java
Log:
GTNPORTAL-1200: Fix error in PageNavigationUtils 's search methods
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/PageNavigationUtils.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/PageNavigationUtils.java 2010-05-13
10:04:03 UTC (rev 3081)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/navigation/PageNavigationUtils.java 2010-05-13
11:42:14 UTC (rev 3082)
@@ -156,7 +156,10 @@
ParentChildPair parentChildPair = searchParentChildPairUnderNode(node, uri);
if(parentChildPair != null)
{
- parentChildPair.setParentNode(node);
+ if(parentChildPair.getParentNode() == null)
+ {
+ parentChildPair.setParentNode(rootNode);
+ }
return parentChildPair;
}
}
Show replies by date