Skip to content

Avoid looping through all the page tree if there is no destination page #3396

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

Merged
merged 3 commits into from
May 30, 2025

Conversation

torakiki
Copy link
Contributor

Added a simple null check to avoid looping through all the page tree if currentPage is null and there is nothing to be found

@ilayaperumalg
Copy link
Member

@torakiki Thanks for the PR fixing the bug. Could you check the format issue in the build failure and update the PR?

@markpollack markpollack added this to the 1.1.x milestone May 30, 2025
@sobychacko sobychacko merged commit 7c674c9 into spring-projects:main May 30, 2025
2 checks passed
spring-builds pushed a commit that referenced this pull request May 30, 2025
…ge (#3396)

* Avoid looping through all the page tree if there is no destination page

Fixes: #3396

Signed-off-by: torakiki <[email protected]>

(cherry picked from commit 7c674c9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants