You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christian Schulte (JIRA)" <ji...@codehaus.org> on 2012/10/11 04:30:36 UTC

[jira] (MSITE-658) 'relativizeDecorationLinks' not working using multiple 'locales'.

Christian Schulte created MSITE-658:
---------------------------------------

             Summary: 'relativizeDecorationLinks' not working using multiple 'locales'.
                 Key: MSITE-658
                 URL: https://jira.codehaus.org/browse/MSITE-658
             Project: Maven 2.x and 3.x Site Plugin
          Issue Type: Bug
          Components: relative links
    Affects Versions: 3.1
            Reporter: Christian Schulte
            Priority: Critical


The plugin does not take into account that output will be generated to sub-directories of the location specified by the project URL for all non-default languages setup using the 'locales' parameter and produces incorrect relative links in all non-default language pages.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MSITE-658) 'relativizeDecorationLinks' not working using multiple 'locales'.

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

Lukas Theussl closed MSITE-658.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 3.3
         Assignee: Lukas Theussl

Patch applied in [r1398031|http://svn.apache.org/viewvc?view=revision&revision=1398031] with minor modification to account for null urls, and added an IT. Thanks!
                
> 'relativizeDecorationLinks' not working using multiple 'locales'.
> -----------------------------------------------------------------
>
>                 Key: MSITE-658
>                 URL: https://jira.codehaus.org/browse/MSITE-658
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: relative links
>    Affects Versions: 3.1
>            Reporter: Christian Schulte
>            Assignee: Lukas Theussl
>            Priority: Critical
>             Fix For: 3.3
>
>         Attachments: MSITE-658.patch, MSITE-658.zip
>
>
> The plugin does not take into account that output will be generated to sub-directories of the location specified by the project URL for all non-default languages setup using the 'locales' parameter and produces incorrect relative links in all non-default language pages.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MSITE-658) 'relativizeDecorationLinks' not working using multiple 'locales'.

Posted by "Christian Schulte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MSITE-658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schulte updated MSITE-658:
------------------------------------

    Attachment: MSITE-658.zip

Example project demonstrating the issue.

Execute 'mvn site' and open the 'target/site/de/dependencies.html' page in a browser. Clicking the 'Home' link in the navigation yields a file not found error due to an incorrect relative link.

                
> 'relativizeDecorationLinks' not working using multiple 'locales'.
> -----------------------------------------------------------------
>
>                 Key: MSITE-658
>                 URL: https://jira.codehaus.org/browse/MSITE-658
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: relative links
>    Affects Versions: 3.1
>            Reporter: Christian Schulte
>            Priority: Critical
>         Attachments: MSITE-658.zip
>
>
> The plugin does not take into account that output will be generated to sub-directories of the location specified by the project URL for all non-default languages setup using the 'locales' parameter and produces incorrect relative links in all non-default language pages.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MSITE-658) 'relativizeDecorationLinks' not working using multiple 'locales'.

Posted by "Christian Schulte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MSITE-658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schulte updated MSITE-658:
------------------------------------

    Attachment: MSITE-658.patch

Patch correcting the issue.
                
> 'relativizeDecorationLinks' not working using multiple 'locales'.
> -----------------------------------------------------------------
>
>                 Key: MSITE-658
>                 URL: https://jira.codehaus.org/browse/MSITE-658
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: relative links
>    Affects Versions: 3.1
>            Reporter: Christian Schulte
>            Priority: Critical
>         Attachments: MSITE-658.patch, MSITE-658.zip
>
>
> The plugin does not take into account that output will be generated to sub-directories of the location specified by the project URL for all non-default languages setup using the 'locales' parameter and produces incorrect relative links in all non-default language pages.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira