You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Vidar S. Ramdal (JIRA)" <ji...@apache.org> on 2009/10/28 11:43:59 UTC

[jira] Resolved: (SLING-1165) Content-loading binary files referenced by nt:file should use the binary's lastModified date as default

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