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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        25m 49s 1 Felix Meschberger 03/Feb/12 00:54
        Resolved Resolved Closed Closed
        105d 6h 52m 1 Carsten Ziegeler 18/May/12 08:46
        Gavin made changes -
        Workflow re-open possible,doc-test-required [ 12787839 ] no-reopen-closed,doc-test-required [ 12790665 ]
        Gavin made changes -
        Workflow no-reopen-closed,doc-test-required [ 12766246 ] re-open possible,doc-test-required [ 12787839 ]
        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 [ 12651738 ] Copy of no-reopen-closed,doc-test-required [ 12762643 ]
        Carsten Ziegeler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Felix Meschberger made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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.
        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.
        Felix Meschberger created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development