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
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