jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "codeparser (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (JCR-2907) can't get versionable node's child property after restore within transaction
Date Thu, 03 Mar 2011 03:10:36 GMT

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

codeparser edited comment on JCR-2907 at 3/3/11 3:10 AM:
---------------------------------------------------------

Attach the test case code.

Anyone could share some light on this issue?

      was (Author: codeparser):
    This is the test case code.
  
> 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
lost.
>     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

        

Mime
View raw message