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

Unico Hommes updated JCR-3207:
------------------------------

    Attachment: reordertest.patch

Patch for ReorderTest.java in jackrabbit-core. Apply by cd'ing to 
jackrabbit-core and executing the command $patch -u -p0 < reordertest.patch
                
> Info map of NODE_MOVED event on node reordering is not according to spec
> ------------------------------------------------------------------------
>
>                 Key: JCR-3207
>                 URL: https://issues.apache.org/jira/browse/JCR-3207
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>    Affects Versions: 2.2.10, 2.3.5
>            Reporter: Unico Hommes
>         Attachments: reordertest.patch
>
>
> According to JSR-283 "If the method that caused the NODE_MOVE event was a 
> Node.orderBefore then the returned Map has keys srcChildRelPath and 
> destChildRelPath with values corresponding to the parameters passed to the 
> orderBefore method, as specified in the Javadoc." As the attached patch for 
> the ReorderTest test case shows this is not the way jackrabbit behaves. 
> Instead it looks like the value of the srcChildRelPath entry in the info map 
> is really the destChildRelPath and destChildRelPath info entry seems to 
> always be null.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to