jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "codeparser (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-2907) can't get versionable node's child property after restore within transaction
Date Sat, 05 Mar 2011 15:22:45 GMT

    [ https://issues.apache.org/jira/browse/JCR-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002980#comment-13002980

codeparser commented on JCR-2907:

in step 1 I create some children under "folder", and add some properties to the children,
and check in the "folder".
After restore "folder" to the previous version, I exepect to get all the children, and also
could get the property of the children.
But from my test resutl, I can't get the property of the children.

> can't get versionable node's child property after restore within transaction
> ----------------------------------------------------------------------------
>                 Key: JCR-2907
>                 URL: https://issues.apache.org/jira/browse/JCR-2907
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: transactions, versioning
>    Affects Versions: 2.2.0
>         Environment: WIN XP
> JDK 1.6
> JBOSS 4.2
>            Reporter: codeparser
>         Attachments: restore_test_case.txt
> The case is as follows:
> 1. create a versionable node named "folder" and create five child and add some property
to the children.
> 2. checkout the node "folder", and add a new child, and then save
> 3. begin a transaction
> 4. get a new jackrabbit session
> 5. get the node "folder", and restore to its base version
> 6. get "folder"'s child, all the children could be getton, but the children's property
>     but after commit the transaction, the content in the database is corret.
> 7.commit transaction

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message