jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (JCR-3083) Degrade gracefully when reading invalid date values
Date Tue, 27 Sep 2011 15:10:11 GMT

     [ https://issues.apache.org/jira/browse/JCR-3083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Parvulescu resolved JCR-3083.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.0
    
> Degrade gracefully when reading invalid date values
> ---------------------------------------------------
>
>                 Key: JCR-3083
>                 URL: https://issues.apache.org/jira/browse/JCR-3083
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>            Reporter: Jukka Zitting
>            Priority: Minor
>             Fix For: 2.3.0
>
>         Attachments: JCR-3083.patch
>
>
> As noted in JCR-1996, it is possible for an old version of Jackrabbit to store date invalid
date values in the repository. Currently such values cause exceptions when the repository
attempts to read them. A better approach would be to automatically detect such dates and map
them instead to string values to avoid losing any information. A client could then access
the information as a string through the normal JCR API, and would only get a ValueFormatException
when trying to read the value as a date, i.e. using the getDate() method.

--
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

        

Mime
View raw message