You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2009/03/17 18:42:12 UTC

[jira] Created: (MRM-1145) RSS tests do not correctly check responses

RSS tests do not correctly check responses
------------------------------------------

                 Key: MRM-1145
                 URL: http://jira.codehaus.org/browse/MRM-1145
             Project: Archiva
          Issue Type: Bug
          Components: web application
    Affects Versions: 1.2-M1
            Reporter: Brett Porter


there appears to be a bug in the tests:
testInvalidRequest
testInvalidAuthenticationRequest
testUnauthorizedRequest

They all get a 200 response when expecting an error, and were not correctly checking the response

-- 
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] Commented: (MRM-1145) RSS tests do not correctly check responses

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=170263#action_170263 ] 

Maria Odea Ching commented on MRM-1145:
---------------------------------------

I tried these scenarios with an actual feed reader. The last two scenarios above seems correct as I get prompted for authentication and get a 401 when I provided wrong credentials or when I don't have the necessary permissions to access the repository.

The testInvalidrequest test case seem to be incorrect though, as I am always being prompted to authenticate whenever I request 'http://localhost:8080/archiva/feeds?invalid_param=xxx'

> RSS tests do not correctly check responses
> ------------------------------------------
>
>                 Key: MRM-1145
>                 URL: http://jira.codehaus.org/browse/MRM-1145
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.2-M1
>            Reporter: Brett Porter
>
> there appears to be a bug in the tests:
> testInvalidRequest
> testInvalidAuthenticationRequest
> testUnauthorizedRequest
> They all get a 200 response when expecting an error, and were not correctly checking the response

-- 
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] Updated: (MRM-1145) RSS tests do not correctly check responses

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

Maria Odea Ching updated MRM-1145:
----------------------------------

    Fix Version/s:     (was: 1.3)
                   1.3.1

> RSS tests do not correctly check responses
> ------------------------------------------
>
>                 Key: MRM-1145
>                 URL: http://jira.codehaus.org/browse/MRM-1145
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.2-M1
>            Reporter: Brett Porter
>             Fix For: 1.3.1
>
>
> there appears to be a bug in the tests:
> testInvalidRequest
> testInvalidAuthenticationRequest
> testUnauthorizedRequest
> They all get a 200 response when expecting an error, and were not correctly checking the response

-- 
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] Updated: (MRM-1145) RSS tests do not correctly check responses

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

Brett Porter updated MRM-1145:
------------------------------

    Fix Version/s: 1.3

> RSS tests do not correctly check responses
> ------------------------------------------
>
>                 Key: MRM-1145
>                 URL: http://jira.codehaus.org/browse/MRM-1145
>             Project: Archiva
>          Issue Type: Bug
>          Components: web application
>    Affects Versions: 1.2-M1
>            Reporter: Brett Porter
>             Fix For: 1.3
>
>
> there appears to be a bug in the tests:
> testInvalidRequest
> testInvalidAuthenticationRequest
> testUnauthorizedRequest
> They all get a 200 response when expecting an error, and were not correctly checking the response

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