Hide Forgot
Help Desk Ticket Reference: https://na7.salesforce.com/500A0000007sCxx Steps to Reproduce: - Log in as root - Click on Site -> Edit Navigation - Under Home, create two new navigation nodes, make one invisible - Go to SiteMap portlet - Expand 'Home' node -> both new sub-nodes are displayed Workaround Description: For EPP 5.1.x, edit gatein.ear/02portal.war/groovy/webui/core/UISitemapTree.gtmpl and add the following: {code} @@ -28,6 +28,10 @@ size++; node = treeNode.getNode(); + + // continue if node is invisible + if(!node.isDisplay()) continue; + nav = treeNode.getNavigation(); {code} project_key: JBEPP An invisible navigation node is displayed in the Sitemap portlet when the parent node is expanded (not with Expand All button).
Workaround Description: Removed: For EPP 5.1.x, edit gatein.ear/02portal.war/groovy/webui/core/UISitemapTree.gtmpl and add the following: @@ -28,6 +28,10 @@ size++; node = treeNode.getNode(); + + // continue if node is invisible + if(!node.isDisplay()) continue; + nav = treeNode.getNavigation(); Added: For EPP 5.1.x, edit gatein.ear/02portal.war/groovy/webui/core/UISitemapTree.gtmpl and add the following: {code} @@ -28,6 +28,10 @@ size++; node = treeNode.getNode(); + + // continue if node is invisible + if(!node.isDisplay()) continue; + nav = treeNode.getNavigation(); {code}
Fixed in GateIn trunk / EPP 5.2 branch by https://source.jboss.org/changelog/GateIn?cs=6783
Release Notes Docs Status: Added: Not Required
Release Notes Docs Status: Removed: Not Required Added: Not Yet Documented
Release Notes Docs Status: Removed: Not Yet Documented Added: Documented as Resolved Issue Release Notes Text: Added: An invisible navigation node was displayed in the Sitemap portlet when the parent node was expanded (not with Expand All button). The workaround described in the linked JIRA has been implemented in this release, which corrects the originally reported issue.