You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "James William Dumay (JIRA)" <ji...@codehaus.org> on 2008/07/08 03:29:26 UTC

[jira] Created: (MRM-867) 500 on HEAD method

500 on HEAD method
------------------

                 Key: MRM-867
                 URL: http://jira.codehaus.org/browse/MRM-867
             Project: Archiva
          Issue Type: Bug
          Components: WebDAV interface
    Affects Versions: 1.1
            Reporter: James William Dumay
             Fix For: 1.1


Doing a HTTP HEAD on a resource sends a 500 response.

This is because we are not checking outputcontext.hasStream before trying to write to a stream and a NPE is thrown.

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

        

[jira] Assigned: (MRM-867) 500 on HEAD method

Posted by "James William Dumay (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James William Dumay reassigned MRM-867:
---------------------------------------

    Assignee: James William Dumay

> 500 on HEAD method
> ------------------
>
>                 Key: MRM-867
>                 URL: http://jira.codehaus.org/browse/MRM-867
>             Project: Archiva
>          Issue Type: Bug
>          Components: WebDAV interface
>    Affects Versions: 1.1
>            Reporter: James William Dumay
>            Assignee: James William Dumay
>             Fix For: 1.1
>
>
> Doing a HTTP HEAD on a resource sends a 500 response.
> This is because we are not checking outputcontext.hasStream before trying to write to a stream and a NPE is thrown.

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

        

[jira] Closed: (MRM-867) 500 on HEAD method

Posted by "James William Dumay (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James William Dumay closed MRM-867.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1

Fixed in r674698.

> 500 on HEAD method
> ------------------
>
>                 Key: MRM-867
>                 URL: http://jira.codehaus.org/browse/MRM-867
>             Project: Archiva
>          Issue Type: Bug
>          Components: WebDAV interface
>    Affects Versions: 1.1
>            Reporter: James William Dumay
>            Assignee: James William Dumay
>             Fix For: 1.1
>
>
> Doing a HTTP HEAD on a resource sends a 500 response.
> This is because we are not checking outputcontext.hasStream before trying to write to a stream and a NPE is thrown.

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