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 03:27:36 UTC
[jira] Created: (SLING-1532) contentloader should overwrite file
contents, not file nodes
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
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.
[jira] Closed: (SLING-1532) contentloader should overwrite file
contents, not file nodes
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson closed SLING-1532.
---------------------------------
> 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.1.0
>
> 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.
[jira] Commented: (SLING-1532) contentloader should overwrite file
contents, not file nodes
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12874061#action_12874061 ]
Justin Edelson commented on SLING-1532:
---------------------------------------
done in r950105
> 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.
[jira] Commented: (SLING-1532) contentloader should overwrite file
contents, not file nodes
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (SLING-1532) contentloader should overwrite file
contents, not file nodes
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson updated SLING-1532:
----------------------------------
Attachment: SLING-1532.patch
> 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.
[jira] Resolved: (SLING-1532) contentloader should overwrite file
contents, not file nodes
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson resolved SLING-1532.
-----------------------------------
Resolution: Fixed
> 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.