You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hugo Palma (JIRA)" <ji...@codehaus.org> on 2009/03/11 17:34:12 UTC

[jira] Created: (MSITE-391) site:state creates wrong links for menu items

site:state creates wrong links for menu items
---------------------------------------------

                 Key: MSITE-391
                 URL: http://jira.codehaus.org/browse/MSITE-391
             Project: Maven 2.x Site Plugin
          Issue Type: Bug
    Affects Versions: 2.0
            Reporter: Hugo Palma
         Attachments: test-case.zip

I'm attaching a test case where if you run the site:stage goal it will generate wrong links on the left menu. The links will actually point to the root site directory when they should point the the pages i provided in the href attribute in my site.xml descriptor file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MSITE-391) site:state creates wrong links for menu items

Posted by "Hugo Palma (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=169232#action_169232 ] 

Hugo Palma commented on MSITE-391:
----------------------------------

I've also tried on two more Linux machines and the problem persists.
So it seems that if i generate the site on a windows machine it generates the links just fine, on linux machines the links are broken.

> site:state creates wrong links for menu items
> ---------------------------------------------
>
>                 Key: MSITE-391
>                 URL: http://jira.codehaus.org/browse/MSITE-391
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Hugo Palma
>         Attachments: test-case.zip
>
>
> I'm attaching a test case where if you run the site:stage goal it will generate wrong links on the left menu. The links will actually point to the root site directory when they should point the the pages i provided in the href attribute in my site.xml descriptor file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MSITE-391) site:state creates wrong links for menu items

Posted by "Hugo Palma (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=169399#action_169399 ] 

Hugo Palma commented on MSITE-391:
----------------------------------

Another thing i've found out is that if i revert to version 2.0-beta-5 of the site plugin the links are generated fine on both windows and linux machines. Any version after that generates broken links on linux.

So it seems that a change committed first on beta-6 broke the link generation on linux.

> site:state creates wrong links for menu items
> ---------------------------------------------
>
>                 Key: MSITE-391
>                 URL: http://jira.codehaus.org/browse/MSITE-391
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Hugo Palma
>         Attachments: test-case.zip
>
>
> I'm attaching a test case where if you run the site:stage goal it will generate wrong links on the left menu. The links will actually point to the root site directory when they should point the the pages i provided in the href attribute in my site.xml descriptor file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MSITE-391) site:state creates wrong links for menu items

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=169166#action_169166 ] 

Dennis Lundberg commented on MSITE-391:
---------------------------------------

Your test case works just fine for me. I'm on Windows XP using Maven 2.0.10. What's your environment?

You have an invalid site URL specified in the POM. That might be the reason for your problems.
{noformat}
/site
{noformat}
is not a valid URL.



> site:state creates wrong links for menu items
> ---------------------------------------------
>
>                 Key: MSITE-391
>                 URL: http://jira.codehaus.org/browse/MSITE-391
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Hugo Palma
>         Attachments: test-case.zip
>
>
> I'm attaching a test case where if you run the site:stage goal it will generate wrong links on the left menu. The links will actually point to the root site directory when they should point the the pages i provided in the href attribute in my site.xml descriptor file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MSITE-391) site:state creates wrong links for menu items

Posted by "Hugo Palma (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=169224#action_169224 ] 

Hugo Palma commented on MSITE-391:
----------------------------------

I've tried removing the url from the POM and the problem persists.
I also tried generating the site on a windows machine and it worked fine, the links show up ok.

I'm running on a Linux machine using Maven 2.0.10.
Any idea what could be on my environment that could be causing this problem ?

> site:state creates wrong links for menu items
> ---------------------------------------------
>
>                 Key: MSITE-391
>                 URL: http://jira.codehaus.org/browse/MSITE-391
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Hugo Palma
>         Attachments: test-case.zip
>
>
> I'm attaching a test case where if you run the site:stage goal it will generate wrong links on the left menu. The links will actually point to the root site directory when they should point the the pages i provided in the href attribute in my site.xml descriptor file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MSITE-391) site:state creates wrong links for menu items

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSITE-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl closed MSITE-391.
-------------------------------

      Assignee: Lukas Theussl
    Resolution: Duplicate

> site:state creates wrong links for menu items
> ---------------------------------------------
>
>                 Key: MSITE-391
>                 URL: http://jira.codehaus.org/browse/MSITE-391
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Hugo Palma
>            Assignee: Lukas Theussl
>         Attachments: test-case.zip
>
>
> I'm attaching a test case where if you run the site:stage goal it will generate wrong links on the left menu. The links will actually point to the root site directory when they should point the the pages i provided in the href attribute in my site.xml descriptor file.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira