Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-688

Failure importing System View document exported from another repository

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 1.1.0.Final
    • 1.0.0.Beta1
    • JCR
    • None
    • Hide

      Export the content of each of the root's children, and then import each one into ModeShape. Yes, this requires a separate System View document for each child, but it keeps the root node (and the "/jcr:system" branch) out of the System View document.

      Show
      Export the content of each of the root's children, and then import each one into ModeShape. Yes, this requires a separate System View document for each child, but it keeps the root node (and the "/jcr:system" branch) out of the System View document.

    Description

      When I try to import whole content of the workspace (e.g. exported from some other repository) using JCR import method, I get following exception:

      javax.jcr.RepositoryException: Unable to create child "/

      {http://www.jcp.org/jcr/1.0}

      root[2]" in workspace "workspace1" because the node type "

      {internal}root" does not exist: Unable to create child "/{http://www.jcp.org/jcr/1.0}root[2]" in workspace "workspace1" because the node type "{internal}

      root" does not exist

      I'll attach my code and imported xml file.

      Attachments

        Issue Links

          Activity

            People

              rhauch Randall Hauch (Inactive)
              jchocholacek Jozef Chocholáček (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: