[
http://jira.codehaus.org/browse/MCHANGES-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Lundberg closed MCHANGES-82.
-----------------------------------
Assignee: Dennis Lundberg
Resolution: Won't Fix
I have updated the documentation to explain how this works. The example at the
pom page has also been updated with a trailing slash.
> Issue Management URL not ending in a '/' result in an incorrect issue link on
> the change report.
> ------------------------------------------------------------------------------------------------
>
> Key: MCHANGES-82
> URL: http://jira.codehaus.org/browse/MCHANGES-82
> Project: Maven 2.x Changes Plugin
> Issue Type: Bug
> Components: changes-report
> Affects Versions: 2.0-beta-2
> Reporter: Paul Spencer
> Assignee: Dennis Lundberg
>
> Issue Management URL not ending in a '/' result in an incorrect issue link on
> the change report. If the Url is "http://issues.foo.com", then the link to
> issue 1 is "http://ViewIssue.jspa?key=1". This problem is made worse by the
> issue management example in http://maven.apache.org/pom.html. In that
> example the url is <url>http://127.0.0.1/bugzilla</url>.
> I believe the source of the problem is in
> ChangesReportGenerator.parseIssueLink(). This method assumes the URL will
> end in a "/", instead of checking for an ending "/"
> String url = this.url.substring( 0, this.url.lastIndexOf( "/" ) );
--
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