[gatein-issues] [JBoss JIRA] Created: (GTNPORTAL-871) Unable to associate navigation and page via XML file (navigation.xml and pages.xml)

gregory sebert (JIRA) jira-events at lists.jboss.org
Thu Mar 11 11:38:37 EST 2010


Unable to associate navigation and page via XML file (navigation.xml and pages.xml)
-----------------------------------------------------------------------------------

                 Key: GTNPORTAL-871
                 URL: https://jira.jboss.org/jira/browse/GTNPORTAL-871
             Project: GateIn Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 3.0.0-CR01
         Environment: jboss-gatein-CR1
HSQL database
            Reporter: gregory sebert


I found a issue when configuring the navigation via XML files. (page.xml & navigation.xml).

When I load the portal, I can see the navigation element, but when I click on it, unable to display the page.
Via the edit navigation portlet, you can edit the node, edit & see the testpage.
When you manually re-associate the node to the page, the page is diplay in the portal.

Steps to reproduce:

- 1 add a node to the navigation.xml (in portal::classic for example):

<node>
        <uri>testnode</uri>
        <name>test</name>
        <label>test</label>
        <visible>true</visible>
        <page-reference>portal::classic::testpage</page-reference>      

</node>

 

- 2 declare the page in the pages.xml

<page>
    <name>testpage</name>
    <title>test</title>
      <access-permissions>Everyone</access-permissions>
      <edit-permission>*:/platform/administrators</edit-permission>
    <portlet-application>
      <portlet>
        <application-ref>web</application-ref>
        <portlet-ref>SiteMapPortlet</portlet-ref>
      </portlet>
      <title>SiteMap</title>
      <access-permissions>Everyone</access-permissions>
      <show-info-bar>false</show-info-bar>     
    </portlet-application>
  </page>

The workaround is to manually re-associate node and page via the edit navigation 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

        


More information about the gatein-issues mailing list