[ 
http://jira.codehaus.org/browse/MCHANGES-82?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102234
 ] 

Dennis Lundberg commented on MCHANGES-82:
-----------------------------------------

Are you using a changes.xml file to produce the report? What does it look like?

How is this problem made worse by the example that you mention?

Can you please supply a full issue management element that exemplifies this 
issue.

> 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

        

Reply via email to