Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 21056 invoked from network); 23 Aug 2006 11:13:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Aug 2006 11:13:28 -0000 Received: (qmail 91974 invoked by uid 500); 23 Aug 2006 11:13:24 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 91888 invoked by uid 500); 23 Aug 2006 11:13:24 -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 91860 invoked by uid 99); 23 Aug 2006 11:13:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 04:13:23 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 04:13:23 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BFA55410026 for ; Wed, 23 Aug 2006 11:10:16 +0000 (GMT) Message-ID: <23478966.1156331416782.JavaMail.jira@brutus> Date: Wed, 23 Aug 2006 04:10:16 -0700 (PDT) From: "DennisDam (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Updated: (COCOON-1897) i18n transformer: catch date parsing exceptions silently In-Reply-To: <25105993.1156331415383.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/COCOON-1897?page=all ] DennisDam updated COCOON-1897: ------------------------------ Attachment: I18nTransformer.java.patch > i18n transformer: catch date parsing exceptions silently > -------------------------------------------------------- > > Key: COCOON-1897 > URL: http://issues.apache.org/jira/browse/COCOON-1897 > Project: Cocoon > Issue Type: Improvement > Components: * Cocoon Core > Affects Versions: 2.1.8, 2.1.9, 2.1.10-dev (current SVN) > Reporter: DennisDam > Attachments: I18nTransformer.java.patch > > > When an empty/incorrect date value is specified, the i18n transformer throws an exception, breaking the whole page. > This exception needs to be caught and handled silently. The patch logs a warning message and returns an empty result when date parsing fails. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira