Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2712

PropertyChangedEvent is triggered before Property is actually changed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.5.2
    • 3.6.0, 3.5.3
    • process
    • None

    Description

      Events are triggered when the graph changes, including additions and deletions.

      In my understanding, all events are triggered at a point in time where the modified element is either still present in the graph (i.e. right before removal) or already present in the graph (i.e. right after insertion).

      As can be seen in DropStep, AddVertexStep, AddVertexStartStep, AddEdgeStep and AddEdgeStartStep, this observation holds true. However, AddPropertyStep breaks this rule and triggers the event before the property is available in the graph.

      This causes issues whenever users want to perform further actions on recently added elements, as vertices and edges are present in the graph, while properties are not.

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            rngcntr Florian G
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: