Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't assume elements will come in top to bottom order #16124

Merged
merged 4 commits into from
Nov 18, 2024

Conversation

i-just
Copy link
Contributor

@i-just i-just commented Nov 15, 2024

Description

The order of elements passed to src/services/Structures::fillGapsInElements() influences whether all gaps will be filled.

Solution: ensure elements are sorted by the lft value before filling the gaps.

Related issues

#16085

@brandonkelly brandonkelly merged commit be8e621 into 5.x Nov 18, 2024
@brandonkelly brandonkelly deleted the bugfix/16085-fillGapsInElements-and-order branch November 18, 2024 20:12
brandonkelly added a commit that referenced this pull request Nov 18, 2024
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.

2 participants