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

Tobias Bocanegra updated JCRVLT-20:
-----------------------------------

    Fix Version/s:     (was: 3.1)
                   3.2

> "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
>             Fix For: 3.2
>
>
> 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.2#6252)

Reply via email to