[ 
https://jira.codehaus.org/browse/MCHANGES-218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=290911#comment-290911
 ] 

Cristian Lupu commented on MCHANGES-218:
----------------------------------------

I would create a unit test to test this method, getJiraUrlAndProjectId from 
JiraHelper class before trying to fix it again. And run it with different 
values for issueManagementUrl:

http://jira.codehaus.org/browse/DOXIA/
http://jira.codehaus.org/
http://jira.codehaus.org
http://jira.codehaus.org/browse/DOXIA

and then try to fix it


                
> Downloading from JIRA fails if issueManagement.url has trailing slash
> ---------------------------------------------------------------------
>
>                 Key: MCHANGES-218
>                 URL: https://jira.codehaus.org/browse/MCHANGES-218
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>          Components: jira
>    Affects Versions: 2.3
>            Reporter: Lukas Theussl
>            Assignee: Lukas Theussl
>             Fix For: 2.4
>
>
> With an issueManagement.url like http://jira.codehaus.org/browse/DOXIA/ (note 
> trailing slash), the jira report chokes
> {noformat}
> [WARNING] Downloading from JIRA failed. Received: [404]
> {noformat}
> and an empty report is generated. removing the trailing slash makes it work.

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

        

Reply via email to