maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (MCHANGES-89) AbstractJiraDownloader throws an exception when jira returns a circular redirect
Date Tue, 08 Jan 2008 22:42:57 GMT

     [ http://jira.codehaus.org/browse/MCHANGES-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dennis Lundberg closed MCHANGES-89.
-----------------------------------

         Assignee: Dennis Lundberg
       Resolution: Fixed
    Fix Version/s: 2.0-beta-4

I have applied the changes. Thanks for the suggestion.

> AbstractJiraDownloader throws an exception when jira returns a circular redirect
> --------------------------------------------------------------------------------
>
>                 Key: MCHANGES-89
>                 URL: http://jira.codehaus.org/browse/MCHANGES-89
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>          Components: jira-report
>    Affects Versions: 2.0-beta-3
>            Reporter: Jim Utter
>            Assignee: Dennis Lundberg
>             Fix For: 2.0-beta-4
>
>         Attachments: AbstractJiraDownloader.java
>
>
> The AbstractJiraDownloader class throws an exception when jira returns a circular redirect
due to the default behavior of apache httpclient.  Basically, a circular redirect is a redirect
to relative path like "../new path" and the default behavior of the httpclient is to refuse
these redirects and throw an exception.  Unfortunately, we are getting these redirects from
our 3.11 version of jira.  This behavior can be easily allowed by changing this:
>             HttpClient client = new HttpClient();
>             HttpState state = new HttpState();
> to this:
>             HttpClient client = new HttpClient();
>             HttpClientParams clientParams = client.getParams();
>             clientParams.setBooleanParameter(HttpClientParams.ALLOW_CIRCULAR_REDIRECTS,
true);
>             HttpState state = new HttpState();
> I have attached an updated java file.
> Thanks!

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

        

Mime
View raw message