[
https://jira.jboss.org/jira/browse/GTNPORTAL-168?page=com.atlassian.jira....
]
Tan Pham Dinh commented on GTNPORTAL-168:
-----------------------------------------
I found some code in UIPageActionListener in action ChangePageNode line 156
if (selectedNode == null)
{
filter : for (PageNavigation nav : navigations)
{
for (PageNode child : nav.getNodes())
{
if (PageNavigationUtils.filter(child, pcontext.getRemoteUser()) !=
null)
{
selectedNode = child;
break filter;
}
}
}
}
Follow this code, we can see that when requested pagenode is null, portal will auto
redirect to first available node ( in this case, this is Administration node).
Thanks
Problem when delete all node in portal navigation
-------------------------------------------------
Key: GTNPORTAL-168
URL:
https://jira.jboss.org/jira/browse/GTNPORTAL-168
Project: GateIn Portal
Issue Type: Bug
Reporter: Hang Nguyen
Assignee: Tan Pham Dinh
Fix For: 3.0.0-CR01
Attachments: 111.jpg
Original Estimate: 4 hours
Remaining Estimate: 4 hours
Steps:
- Login in portal
- Go to Site --> edit navigation --> delete all node --> save
- Sign out and sign in again --> display error on breadcrumbs portlet
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira