Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-2907

can't get versionable node's child property after restore within transaction

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2
    • None
    • transactions, versioning
    • None
    • WIN XP
      JDK 1.6
      JBOSS 4.2

    Description

      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

      Attachments

        1. restore_test_case.txt
          3 kB
          codeparser
        2. test_case_patch.diff
          3 kB
          codeparser

        Activity

          People

            Unassigned Unassigned
            codeparser codeparser
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: