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

Vidar S. Ramdal resolved SLING-1165.
------------------------------------

    Resolution: Fixed

Implemented in rev#830495. 
If the lastModified attribute is missing, XmlReader will attempt to get the 
last modified date from the filesystem. If that fails, it will fall back to 
current date.

> Content-loading binary files referenced by nt:file should use the binary's 
> lastModified date as default
> -------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-1165
>                 URL: https://issues.apache.org/jira/browse/SLING-1165
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Contentloader 2.0.6
>            Reporter: Vidar S. Ramdal
>            Assignee: Vidar S. Ramdal
>            Priority: Minor
>             Fix For: JCR Contentloader 2.0.6
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> As pointed out by Mike Müller (http://markmail.org/message/msxmpyu2ghor7z6z), 
> when installing binary files using nt:file in an XML descriptor file, the 
> default for lastModified should be the file's last modified date, not the 
> current date.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to