Return-Path: X-Original-To: apmail-cocoon-dev-archive@www.apache.org Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BE8919AA8 for ; Wed, 4 Apr 2012 15:41:48 +0000 (UTC) Received: (qmail 4676 invoked by uid 500); 4 Apr 2012 15:41:48 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 4606 invoked by uid 500); 4 Apr 2012 15:41:48 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 4599 invoked by uid 99); 4 Apr 2012 15:41:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2012 15:41:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2012 15:41:47 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 39119358A2A for ; Wed, 4 Apr 2012 15:41:27 +0000 (UTC) Date: Wed, 4 Apr 2012 15:41:27 +0000 (UTC) From: "Lars Huttar (Commented) (JIRA)" To: dev@cocoon.apache.org Message-ID: <939842122.12269.1333554087235.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1725763373.8286.1333484306011.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COCOON3-97) Wrong status response code for sitemap errors MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COCOON3-97?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1324= 6375#comment-13246375 ]=20 Lars Huttar commented on COCOON3-97: ------------------------------------ Thank you for catching that. It makes a difference in development,=20 testing and debugging! Lars =20 > 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=C3=B2 > 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 res= ponse 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 administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira