[jira] Commented: (MSITE-273) Wrong url in banner left url when page has more 2 sub directories
[ http://jira.codehaus.org/browse/MSITE-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=212880#action_212880 ] Dennis Lundberg commented on MSITE-273: --- The problem is in doxia-decoration-model:DefaultDecorationModelInheritanceAssembler.resolveBannerPaths() which calls convertPath() and after a couple of more calls we end up in plexus-utils:PathTool.getRelativeWebPath(). For two URLs that are equal the relative path between them is nothing. This the href on the banner is actually if you look at the source. We could resolve the problem by removing the url element from our parent POM, but that feels like cheating. Wrong url in banner left url when page has more 2 sub directories - Key: MSITE-273 URL: http://jira.codehaus.org/browse/MSITE-273 Project: Maven 2.x Site Plugin Issue Type: Bug Components: relative links Affects Versions: 2.0-beta-6 Environment: svn rev 599447 Reporter: Vincent Siveton Fix For: 2.1.1 Follow the following steps: 1. go to http://maven.apache.org/repository/index.html or http://maven.apache.org/developers/committer-environment.html 2. and click on the Maven logo (top left) 3. the page is http://maven.apache.org/ which is the correct behaviour But try to reproduce the same with 2 sub directories in the url, like http://maven.apache.org/guides/mini/guide-central-repository-upload.html The url is http://maven.apache.org/guides/ instead of http://maven.apache.org/ -- 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-273) Wrong url in banner left url when page has more 2 sub directories
[ http://jira.codehaus.org/browse/MSITE-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=185638#action_185638 ] Vincent Siveton commented on MSITE-273: --- Using 2.1-SNAP on Maven site, the pb is still there... Go to site/target/site/developers/index.html and the Maven logo url is site/developers/index.html instead of trunks/site/target/site/index.html I spot a regression: go to site/download.html, the Maven logo url is site/download.html instead of site/index.html Wrong url in banner left url when page has more 2 sub directories - Key: MSITE-273 URL: http://jira.codehaus.org/browse/MSITE-273 Project: Maven 2.x Site Plugin Issue Type: Bug Components: relative links Affects Versions: 2.0-beta-6 Environment: svn rev 599447 Reporter: Vincent Siveton Fix For: 2.1 Follow the following steps: 1. go to http://maven.apache.org/repository/index.html or http://maven.apache.org/developers/committer-environment.html 2. and click on the Maven logo (top left) 3. the page is http://maven.apache.org/ which is the correct behaviour But try to reproduce the same with 2 sub directories in the url, like http://maven.apache.org/guides/mini/guide-central-repository-upload.html The url is http://maven.apache.org/guides/ instead of http://maven.apache.org/ -- 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-273) Wrong url in banner left url when page has more 2 sub directories
[ http://jira.codehaus.org/browse/MSITE-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=185064#action_185064 ] Lukas Theussl commented on MSITE-273: - Vincent, I believe this is fixed in current 2.1-SNAPSHOT, can you confirm? Btw, the links in the deployed pages above are already different than what you describe but still not correct... Wrong url in banner left url when page has more 2 sub directories - Key: MSITE-273 URL: http://jira.codehaus.org/browse/MSITE-273 Project: Maven 2.x Site Plugin Issue Type: Bug Components: relative links Affects Versions: 2.0-beta-6 Environment: svn rev 599447 Reporter: Vincent Siveton Fix For: 2.1 Follow the following steps: 1. go to http://maven.apache.org/repository/index.html or http://maven.apache.org/developers/committer-environment.html 2. and click on the Maven logo (top left) 3. the page is http://maven.apache.org/ which is the correct behaviour But try to reproduce the same with 2 sub directories in the url, like http://maven.apache.org/guides/mini/guide-central-repository-upload.html The url is http://maven.apache.org/guides/ instead of http://maven.apache.org/ -- 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