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

Ignore root node when importing through sysView

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • jackrabbit-core
    • None

    Description

      When importing through a sysView, we should ignore the root node. It is in the sysView to provide a root XML node, but the importer is going to attach it to the repository"s root node... Which would create another root node and often raise exception. This is a know issue

      I needed this behavior to change for the backup tool, since I use the sysView. Therefore, I havce slightly updated the WorkspaceImporter. Maybe I should update too the SessionImporter so we have a consistant behavior. What do you think?

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--patch-1-Ignore-root-node.txt
          1.0 kB
          Nicolas Toper
        2. patch-WorkspaceImporter-231006.txt
          10 kB
          Nicolas Toper
        3. patch-WorkspaceImporter-231006-2.txt
          3 kB
          Nicolas Toper
        4. patch-WorkspaceImporterTest-231006.txt
          5 kB
          Nicolas Toper
        5. WorkspaceImporterRootNodeTest.patch
          5 kB
          Nicolas Toper

        Issue Links

          Activity

            People

              jukkaz Jukka Zitting
              ntoper Nicolas Toper
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: