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

SNS reorderings are not reflected in [jcr:path] indexes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.2.0.Final
    • 4.4.0.Final
    • Query
    • None

    Description

      If [jcr:path] indexes are defined for an index provider and node type and that node type supports SNS, reordering those same name sibling children is not reflected in the path indexes.

      For example:

      childA       (id=1)
      childB       (id=2)
      childC       (id=3)
      childB[2]    (id=4)
      childB[3]    (id=5)
      childD       (id=6)
      childE       (id=7)
      childB[4]    (id=8)
      

      reordering childB[4] before childC would result in:

      childA       (id=1)
      childB       (id=2)
      childB[2]    (id=8)
      childC       (id=3)
      childB[3]    (id=4)
      childB[4]    (id=5)
      childD       (id=6)
      childE       (id=7)
      

      The current NodeReordered events do not contain enough information for an index to be able to perform the necessary changes, which affect not only the source and target node, but other nodes in the hierarchy as well.

      See the discussion on https://github.com/ModeShape/modeshape/pull/1469 for more information.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: