[jira] Updated: (COCOON-1897) i18n transformer: catch date parsing exceptions silently

2006-08-23 Thread Antonio Gallardo (JIRA)
 [ http://issues.apache.org/jira/browse/COCOON-1897?page=all ]

Antonio Gallardo updated COCOON-1897:
-


Would you provide a use case where is important to hide the exception?

> 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




[jira] Updated: (COCOON-1897) i18n transformer: catch date parsing exceptions silently

2006-08-23 Thread DennisDam (JIRA)
 [ 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