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

Importing document view XML that contains checked-in nodes produces assertion error

XMLWordPrintable

      Importing a document view XML of a repository which contains checked-in nodes, raises an AssertionError in

          public NodeKey( String key ) {
              assert key != null;
          -->    assert key.length() > IDENTIFIER_START_INDEX;
              this.key = key;
          }
      

      The reason is that in some cases, the jcr:predecessors property can be empty (for example when a node is checked in)

              hchiorean Horia Chiorean (Inactive)
              hchiorean Horia Chiorean (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: