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

Importing and reimporting (replacing) same XML with versioned content results in corrupted version history

XMLWordPrintable

      Importing and then reimporting the same XML file (which contains nodes that are referenceable and versioned) results in an inability to check out, modify, and check in one of the versioned nodes. Here's a stack trace (the UUIDs are not important):

      org.modeshape.graph.property.PathNotFoundException: Unable to find "[{http://www.modeshape.org/1.0}uuid = 72a1eedb-4bd9-4fff-a468-be8178f1e350]"; lowest existing path is "/"
      	at org.modeshape.graph.connector.map.MapRequestProcessor.getTargetNode(MapRequestProcessor.java:630)
      	at org.modeshape.graph.connector.map.MapRequestProcessor.process(MapRequestProcessor.java:149)
      	at org.modeshape.graph.request.processor.RequestProcessor.process(RequestProcessor.java:740)
      	at org.modeshape.graph.request.processor.RequestProcessor.process(RequestProcessor.java:288)
      	at org.modeshape.connector.store.jpa.model.simple.SimpleJpaConnection.execute(SimpleJpaConnection.java:127)
      	at org.modeshape.graph.connector.RepositoryConnectionPool$ConnectionWrapper.execute(RepositoryConnectionPool.java:1129)
      	at org.modeshape.graph.Graph.execute(Graph.java:283)
      	at org.modeshape.graph.Graph$5.process(Graph.java:226)
      	at org.modeshape.graph.request.RequestBuilder.readNode(RequestBuilder.java:142)
      	at org.modeshape.graph.Graph.getNodeAt(Graph.java:2413)
      	at org.modeshape.graph.Graph.getNodeAt(Graph.java:2403)
      	at org.modeshape.jcr.JcrVersionManager.checkin(JcrVersionManager.java:361)
      	at org.modeshape.jcr.JcrVersionManager.checkin(JcrVersionManager.java:1723)
      

      This occurs with the in-memory or JPA sources.

        1. archive-package-error.png
          archive-package-error.png
          66 kB
        2. brms-jdbc-ds.xml
          1 kB
        3. components.xml
          3 kB
        4. modeshape-config.xml
          6 kB
        5. rule_repository.xml
          319 kB
        6. server.log
          51 kB

              rhauch Randall Hauch (Inactive)
              psiroky_jira Petr Široký (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: