You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Josh Kennedy (JIRA)" <ji...@apache.org> on 2010/06/19 02:06:23 UTC

[jira] Created: (SLING-1561) Allow the Sling Initial ContentLoader to set parent node properties

Allow the Sling Initial ContentLoader to set parent node properties
-------------------------------------------------------------------

                 Key: SLING-1561
                 URL: https://issues.apache.org/jira/browse/SLING-1561
             Project: Sling
          Issue Type: New Feature
    Affects Versions: JCR ContentLoader 2.0.8
            Reporter: Josh Kennedy
             Fix For: JCR Contentloader 2.0.6


Using the content loader, if the target install directory is a new or an existing node, add the ability to set it's properties.

Example:
content;overwrite:=true;uninstall:=true;path:=/content/testing

Add a PARENT_NODE descriptor in the source content folder that would modify the properties of the parent (/content/testing) just like the ROOT descriptor does.



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


[jira] Closed: (SLING-1561) Allow the Sling Initial ContentLoader to set parent node properties

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Edelson closed SLING-1561.
---------------------------------


> Allow the Sling Initial ContentLoader to set parent node properties
> -------------------------------------------------------------------
>
>                 Key: SLING-1561
>                 URL: https://issues.apache.org/jira/browse/SLING-1561
>             Project: Sling
>          Issue Type: Bug
>            Reporter: Josh Kennedy
>            Assignee: Justin Edelson
>             Fix For: JCR ContentLoader 2.1.0
>
>         Attachments: Loader.patch
>
>
> Using the content loader, if the target install directory is a new or an existing node, add the ability to set it's properties.
> Example:
> content;overwrite:=true;uninstall:=true;path:=/content/testing
> Add a PARENT_NODE descriptor in the source content folder that would modify the properties of the parent (/content/testing) just like the ROOT descriptor does.

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


[jira] Resolved: (SLING-1561) Allow the Sling Initial ContentLoader to set parent node properties

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Edelson resolved SLING-1561.
-----------------------------------

      Assignee: Justin Edelson
    Resolution: Fixed

fixed in r956170

> Allow the Sling Initial ContentLoader to set parent node properties
> -------------------------------------------------------------------
>
>                 Key: SLING-1561
>                 URL: https://issues.apache.org/jira/browse/SLING-1561
>             Project: Sling
>          Issue Type: Bug
>    Affects Versions: JCR ContentLoader 2.0.8
>            Reporter: Josh Kennedy
>            Assignee: Justin Edelson
>             Fix For: JCR Contentloader 2.0.6
>
>         Attachments: Loader.patch
>
>
> Using the content loader, if the target install directory is a new or an existing node, add the ability to set it's properties.
> Example:
> content;overwrite:=true;uninstall:=true;path:=/content/testing
> Add a PARENT_NODE descriptor in the source content folder that would modify the properties of the parent (/content/testing) just like the ROOT descriptor does.

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


[jira] Updated: (SLING-1561) Allow the Sling Initial ContentLoader to set parent node properties

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Edelson updated SLING-1561:
----------------------------------

        Fix Version/s: JCR ContentLoader 2.0.8
                           (was: JCR Contentloader 2.0.6)
    Affects Version/s:     (was: JCR ContentLoader 2.0.8)

> Allow the Sling Initial ContentLoader to set parent node properties
> -------------------------------------------------------------------
>
>                 Key: SLING-1561
>                 URL: https://issues.apache.org/jira/browse/SLING-1561
>             Project: Sling
>          Issue Type: Bug
>            Reporter: Josh Kennedy
>            Assignee: Justin Edelson
>             Fix For: JCR ContentLoader 2.0.8
>
>         Attachments: Loader.patch
>
>
> Using the content loader, if the target install directory is a new or an existing node, add the ability to set it's properties.
> Example:
> content;overwrite:=true;uninstall:=true;path:=/content/testing
> Add a PARENT_NODE descriptor in the source content folder that would modify the properties of the parent (/content/testing) just like the ROOT descriptor does.

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


[jira] Updated: (SLING-1561) Allow the Sling Initial ContentLoader to set parent node properties

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Edelson updated SLING-1561:
----------------------------------

    Issue Type: Bug  (was: New Feature)

The more I think about it, this has to be considered a bug. properties defined in ROOT.json should end up in the node specified in the path parameter.


> Allow the Sling Initial ContentLoader to set parent node properties
> -------------------------------------------------------------------
>
>                 Key: SLING-1561
>                 URL: https://issues.apache.org/jira/browse/SLING-1561
>             Project: Sling
>          Issue Type: Bug
>    Affects Versions: JCR ContentLoader 2.0.8
>            Reporter: Josh Kennedy
>             Fix For: JCR Contentloader 2.0.6
>
>         Attachments: Loader.patch
>
>
> Using the content loader, if the target install directory is a new or an existing node, add the ability to set it's properties.
> Example:
> content;overwrite:=true;uninstall:=true;path:=/content/testing
> Add a PARENT_NODE descriptor in the source content folder that would modify the properties of the parent (/content/testing) just like the ROOT descriptor does.

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


[jira] Commented: (SLING-1561) Allow the Sling Initial ContentLoader to set parent node properties

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12880396#action_12880396 ] 

Justin Edelson commented on SLING-1561:
---------------------------------------

Looking at this, I'm thinking we should just make it so that if path is not "/", then the ROOT descriptor should modify the properties of the parent node, not the root node. If I have a header like:
content;overwrite:=true;uninstall:=true;path:=/content/testing

and content/ROOT.json exists, it is IMHO very non-intuitive that the contents of ROOT.json are actually applied to the root node, not /content/testing

> Allow the Sling Initial ContentLoader to set parent node properties
> -------------------------------------------------------------------
>
>                 Key: SLING-1561
>                 URL: https://issues.apache.org/jira/browse/SLING-1561
>             Project: Sling
>          Issue Type: New Feature
>    Affects Versions: JCR ContentLoader 2.0.8
>            Reporter: Josh Kennedy
>             Fix For: JCR Contentloader 2.0.6
>
>         Attachments: Loader.patch
>
>
> Using the content loader, if the target install directory is a new or an existing node, add the ability to set it's properties.
> Example:
> content;overwrite:=true;uninstall:=true;path:=/content/testing
> Add a PARENT_NODE descriptor in the source content folder that would modify the properties of the parent (/content/testing) just like the ROOT descriptor does.

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


[jira] Updated: (SLING-1561) Allow the Sling Initial ContentLoader to set parent node properties

Posted by "Josh Kennedy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Kennedy updated SLING-1561:
--------------------------------

    Attachment: Loader.patch

Adds the ability.

> Allow the Sling Initial ContentLoader to set parent node properties
> -------------------------------------------------------------------
>
>                 Key: SLING-1561
>                 URL: https://issues.apache.org/jira/browse/SLING-1561
>             Project: Sling
>          Issue Type: New Feature
>    Affects Versions: JCR ContentLoader 2.0.8
>            Reporter: Josh Kennedy
>             Fix For: JCR Contentloader 2.0.6
>
>         Attachments: Loader.patch
>
>
> Using the content loader, if the target install directory is a new or an existing node, add the ability to set it's properties.
> Example:
> content;overwrite:=true;uninstall:=true;path:=/content/testing
> Add a PARENT_NODE descriptor in the source content folder that would modify the properties of the parent (/content/testing) just like the ROOT descriptor does.

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