[jira] [Commented] (COCOON3-97) Wrong status response code for sitemap errors
[ https://issues.apache.org/jira/browse/COCOON3-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246375#comment-13246375 ] Lars Huttar commented on COCOON3-97: Thank you for catching that. It makes a difference in development, testing and debugging! Lars > Wrong status response code for sitemap errors > - > > Key: COCOON3-97 > URL: https://issues.apache.org/jira/browse/COCOON3-97 > Project: Cocoon 3 > Issue Type: Bug > Components: cocoon-servlet >Affects Versions: 3.0.0-beta-1 >Reporter: Javier Puerto >Assignee: Francesco Chicchiriccò > Fix For: 3.0.0-beta-1 > > Attachments: XMLSitemapServlet-COCOON3-97.diff > > > As described in COCOON3-95 issue, Cocoon 3 is not handling the status > response code properly when a RuntimeException is thrown. It's returning a > 200 and should be a 500. The block to reproduce the error is in previous > issue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (COCOON3-97) Wrong status response code for sitemap errors
[ https://issues.apache.org/jira/browse/COCOON3-97?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246108#comment-13246108 ] Hudson commented on COCOON3-97: --- Integrated in Cocoon-trunk #168 (See [https://builds.apache.org/job/Cocoon-trunk/168/]) [COCOON3-97] Applying provided patch (Revision 1309273) Result = SUCCESS ilgrosso : http://svn.apache.org/viewvc/?view=rev&rev=1309273 Files : * /cocoon/cocoon3/trunk/cocoon-servlet/src/main/java/org/apache/cocoon/servlet/XMLSitemapServlet.java > Wrong status response code for sitemap errors > - > > Key: COCOON3-97 > URL: https://issues.apache.org/jira/browse/COCOON3-97 > Project: Cocoon 3 > Issue Type: Bug > Components: cocoon-servlet >Affects Versions: 3.0.0-beta-1 >Reporter: Javier Puerto >Assignee: Francesco Chicchiriccò > Fix For: 3.0.0-beta-1 > > Attachments: XMLSitemapServlet-COCOON3-97.diff > > > As described in COCOON3-95 issue, Cocoon 3 is not handling the status > response code properly when a RuntimeException is thrown. It's returning a > 200 and should be a 500. The block to reproduce the error is in previous > issue. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira