jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCRVLT-20) "vlr rcp" doesn't update child node ordering
Date Mon, 28 Oct 2013 17:36:30 GMT
Tobias Bocanegra created JCRVLT-20:

             Summary: "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.1

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

3. use "vlt rcp" to copy that folder elsewhere:
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

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

View raw message