Skip to content

[Nodes] When addind nodes to children, the event fired on the parent listener contains a wrong prev_snapshot #5

Description

@AxelVoitier

Found in testing of ChildrenArray. When adding nodes with the children attached to a parent_node, the event it fires on the parent node listener for the addition of child nodes contains a wrong prev_snapshot. It is basically just a mirror of snapshot.

Eg. when adding one node:

event.snapshot=(
    MinimalNode(system_name=None, display_name=node1),
    MinimalNode(system_name=None, display_name=node2),
)
event.delta=[MinimalNode(system_name=None, display_name=node2)]
event.delta_indices=[1]
event.prev_snapshot=(
    MinimalNode(system_name=None, display_name=node1),
    MinimalNode(system_name=None, display_name=node2),
)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingbug-in-netbeansThe bug seems to come from Netbeans implementation originally. Label used for documenting/tracing.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions