You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2015/02/20 00:37:11 UTC

[jira] [Resolved] (JCRVLT-20) "vlr rcp" doesn't update child node ordering

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

Tobias Bocanegra resolved JCRVLT-20.
------------------------------------
       Resolution: Cannot Reproduce
    Fix Version/s:     (was: 3.2)

I can't reproduce this anymore.

> "vlr rcp" doesn't update child node ordering
> --------------------------------------------
>
>                 Key: JCRVLT-20
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-20
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Tobias Bocanegra
>
> When using "vlt rcp" to copy content between servers (or on the same server), node properties are correctly updated or removed, and child nodes are correctly added or removed, but child node ordering is not updated.
> 1. create a node that supports child ordering (e.g., nt:unstructured or sling:OrderedFolder)
> For example, /content/test/folderA
> 2. create 3 nodes (e.g., nt:unstructured) underneath that node
> /content/test/folderA/one
> /content/test/folderA/two
> /content/test/folderA/three
> 3. use "vlt rcp" to copy that folder elsewhere:
> {noformat}
> vlt rcp -r -u http://admin:admin@localhost:4502/crx/-/jcr:root/content/test/folderA http://admin:admin@localhost:4502/crx/-/jcr:root/content/test/folderB
> {noformat}
> 4. check that the newly created target folder "folderB" exists and has the correct child content in the correct order.
> 5. delete the node "one" from "folderB"
> 6. re-run the "vlt rcp" command
> This should bring the target folder back into sync with the source folder, but it will instead create the node "one" as the last child in the target folder, rather than the first.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)