cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Baptiste Quenot (JIRA)" <>
Subject [jira] Closed: (COCOON-1897) i18n transformer: catch date parsing exceptions silently
Date Sat, 09 Sep 2006 14:28:23 GMT
     [ ]

Jean-Baptiste Quenot closed COCOON-1897.

    Resolution: Won't Fix

You probably need to validate user input before going through i18n.  The only thing that could
be enhanced is to set the "lenient" mode, but it is already set by default, so date parsing
is already lenient, ie non-strict.

> i18n transformer: catch date parsing exceptions silently
> --------------------------------------------------------
>                 Key: COCOON-1897
>                 URL:
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: * Cocoon Core
>    Affects Versions: 2.1.8, 2.1.9, 2.1.10-dev (current SVN)
>            Reporter: Dennis Dam
>         Attachments:
> 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:
For more information on JIRA, see:


View raw message