You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2014/08/13 22:30:13 UTC
[jira] [Updated] (SLING-3846) JcrModifiableValueMap: Date object
not supported for writing data
[ https://issues.apache.org/jira/browse/SLING-3846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert updated SLING-3846:
----------------------------------
Attachment: SLING-3846_JcrModifiableValueMap_DateConversion.patch
> JcrModifiableValueMap: Date object not supported for writing data
> -----------------------------------------------------------------
>
> Key: SLING-3846
> URL: https://issues.apache.org/jira/browse/SLING-3846
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Affects Versions: JCR Resource 2.3.6
> Reporter: Stefan Seifert
> Fix For: JCR Resource 2.3.8
>
> Attachments: SLING-3846_JcrModifiableValueMap_DateConversion.patch
>
>
> the JCR value map implementation supported for a long time accessing date values either with Calendar.class or Date.class - the calendar value was converted automatically if required.
> this does currently not work when writing values - for writing only Calendar objects are supported, no date objects.
> the attached patch ensures that this behavior is symmetric (incl. an unit test).
--
This message was sent by Atlassian JIRA
(v6.2#6252)