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

jcr:uuid property is not stored for referenceable nodes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.8.2.Final
    • 2.8.1.Final, 2.8.1.GA
    • None
    • None

    Description

      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)

      Attachments

        Activity

          People

            hchiorean Horia Chiorean (Inactive)
            hchiorean Horia Chiorean (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: