Skip to content

[Nodes] ChildrenMap._put_all() cannot update a key #6

Description

@AxelVoitier

If a key is already present and _put_all() is used to update it with a different value (regardless if we are doing it for one key or several keys at a time), the node for the key does not get updated in the EntrySupportDefault.

This is because EntrySupportDefault._set_entries() and __update_order() operate at the entry/info level, and not at the node level.

For it to work, I guess something should be calling EntrySupportDefault._refresh_entry() with the modified keys.
Welp, no. #7 shows that does not work neither. Not without updating the node in the _MapEntry first.

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