jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-2907) can't get versionable node's child property after restore within transaction
Date Fri, 04 Mar 2011 13:02:37 GMT

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

Jukka Zitting commented on JCR-2907:
------------------------------------

It's a bit unclear what's your expected result here is. Instead of the System.out prints,
could you add a failing assertion to the test case?

It would be great if the attached test case could be modified into a patch against jackrabbit-core/src/test/java.

> 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