Skip to content

Fix stale sibling pointer after keyed nodes move to another parent - #292

Open
lukaszsamson wants to merge 1 commit into
patrick-steele-idem:masterfrom
lukaszsamson:ls-fix-sibling-pointer
Open

Fix stale sibling pointer after keyed nodes move to another parent#292
lukaszsamson wants to merge 1 commit into
patrick-steele-idem:masterfrom
lukaszsamson:ls-fix-sibling-pointer

Conversation

@lukaszsamson

Copy link
Copy Markdown

This PR changes the code to refresh the saved sibling pointer if it no longer belongs to the current parent.
Tests cover direct moves, newly added descendants, consecutive keyed moves, trailing children, and sibling cleanup.

Fixes #291

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Moving a keyed node into an earlier sibling leaves stale nodes or throws NotFoundError

1 participant