Stefan Seifert created SLING-3846:
-------------------------------------

             Summary: 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)

Reply via email to