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

jcr:uuid property is not stored for referenceable nodes


    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.8.1.Final, 2.8.1.GA
    • Fix Version/s: 2.8.2.Final
    • Component/s: None
    • Labels:


      When working with referenceable nodes, the jcr:uuid property is not stored as a node property and therefore cannot be searched after, if a subsequent update has been performed on the node's properties.

      Consider the following scenario:

      1. create a referenceable node N with some properties & save
      2. execute a search against N.[jcr:uuid]
      3. update some of the properties of the referenceable node & save
      4. execute the same search as 2.

      The effect is that the search at 2 is successful while the search at 4 is not.

      The reason is that when first creating the transient node, the actual graph CreateNodeRequest contains among the node properties the jcr:uuid property, which gets indexed by the lucene indexer.

      After the update is performed (effectively an UpdatePropertiesRequest is processed), because the jcr:uuid was not stored as a property when the first save was executed, the lucene indexer does not get this property anymore and therefore does not store it in the document (document which gets created anew each time)

        Gliffy Diagrams




              • Assignee:
                hchiorean Horia Chiorean
                hchiorean Horia Chiorean
              • Votes:
                1 Vote for this issue
                3 Start watching this issue


                • Created: