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

Assigning nodeType nt:version (and probably some others from jcr:system) breaks things

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 4.0.0.Beta1
    • 4.0.0.Alpha4
    • JCR
    • None

    Description

      After registering a Node with type nt:version I get the following Stacktrace:

      javax.jcr.nodetype.ConstraintViolationException: Unable to modify the '/some/path/version' node in workspace "default" because the node is within the '/jcr:system' area
      	at org.modeshape.jcr.JcrSystemNode.checkNodeTypeCanBeModified(JcrSystemNode.java:46)
      	at org.modeshape.jcr.AbstractJcrNode.addChildNode(AbstractJcrNode.java:1082)
      	at org.modeshape.jcr.AbstractJcrNode.addNode(AbstractJcrNode.java:1048)
      	at org.modeshape.jcr.AbstractJcrNode.addNode(AbstractJcrNode.java:962)
      	at org.modeshape.jcr.JcrSystemNode.addNode(JcrSystemNode.java:25)
      	at org.modeshape.jcr.AbstractJcrNode.addNode(AbstractJcrNode.java:100)
      

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            bes82 Bjoern Schmidt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: