Sling
  1. Sling
  2. SLING-2399

Incomplete Resource Event on Node creation with properties

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JCR Resource 2.0.10
    • Fix Version/s: JCR Resource 2.1.0
    • Component/s: JCR
    • Labels:
      None

      Description

      When a node is created along with some properties, the set of added (aka changed) properties is not provided with the resource added event. This may cause event information to be lost.

      Particularly this causes the VanityPath integration tests to fail because the nodes with the vanityPath properties are created like this.

        Activity

        Felix Meschberger created issue -
        Felix Meschberger committed 1239956 (1 file)
        Reviews: none

        SLING-2399 Property events should not be discarded in case of handling add or remove events for the parent nodes; rather this information should be provided along with the resouce added and removed OSGi events

        Hide
        Felix Meschberger added a comment -

        In fact node removed (resource removed) events suffer from the same problem.

        Implemented Rev. 1239956 such that on node add and remove events changes reported to properties of those nodes are also transported in the respected resource added and remove events.

        Show
        Felix Meschberger added a comment - In fact node removed (resource removed) events suffer from the same problem. Implemented Rev. 1239956 such that on node add and remove events changes reported to properties of those nodes are also transported in the respected resource added and remove events.
        Hide
        Felix Meschberger added a comment -

        This fixes the integration tests and so I consider this problem solved.

        Show
        Felix Meschberger added a comment - This fixes the integration tests and so I consider this problem solved.
        Felix Meschberger made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Carsten Ziegeler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Gavin made changes -
        Workflow no-reopen-closed,doc-test-required [ 12651738 ] Copy of no-reopen-closed,doc-test-required [ 12762643 ]
        Gavin made changes -
        Workflow Copy of no-reopen-closed,doc-test-required [ 12762643 ] no-reopen-closed,doc-test-required [ 12766246 ]
        Gavin made changes -
        Workflow no-reopen-closed,doc-test-required [ 12766246 ] re-open possible,doc-test-required [ 12787839 ]
        Gavin made changes -
        Workflow re-open possible,doc-test-required [ 12787839 ] no-reopen-closed,doc-test-required [ 12790665 ]

          People

          • Assignee:
            Felix Meschberger
            Reporter:
            Felix Meschberger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development