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

Node.orderBefore does not trigger (or triggers incomplete) cache events

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 3.0.0.Alpha5
    • 3.0.0.Alpha1
    • None
    • None

      There are 2 problems related to events coming from the cache when a Node.orderBefore operation is performed:

      • if an orderBefore(node, null) is performed, the node is moved to the end of the children list, but no event is triggered at all (see JcrObservationManagerTest#shouldTestNodeReorderTest_testNodeReorderSameNameWithRemove)
      • if there's a parent with 3 sns: node[1], node[2], node[3] and a orderBefore(node[3], node[2]) is performed, the path which is added to the event as information does not include SNS path (see JcrObservationManagerTest#shouldTestNodeReorderTest_testNodeReorderSameName )

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

                Created:
                Updated:
                Resolved: