You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2010/05/27 15:28:28 UTC

[jira] Commented: (SLING-1532) contentloader should overwrite file contents, not file nodes

    [ https://issues.apache.org/jira/browse/SLING-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872212#action_12872212 ] 

Justin Edelson commented on SLING-1532:
---------------------------------------

here's my patch for this.

> contentloader should overwrite file contents, not file nodes
> ------------------------------------------------------------
>
>                 Key: SLING-1532
>                 URL: https://issues.apache.org/jira/browse/SLING-1532
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Justin Edelson
>            Assignee: Justin Edelson
>             Fix For: JCR ContentLoader 2.0.8
>
>         Attachments: SLING-1532.patch
>
>
> When a file node is created in the contentloader, the underlying jcr:content node is removed and recreated. This is problem as nt:resource is referenceable. Because it is deleted and recreated, a new uuid is defined.
> Instead, we should just modify the properties of the jcr:content node and keep the uuid.

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