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

FIX Infinite recursion sanity checks with more helpful error messages… #217

Merged

Conversation

emteknetnz
Copy link
Member

@emteknetnz emteknetnz commented Nov 9, 2023

Backport cherry-pick of squash merge commit on #214. No merge-conflicts on cherry-pick.

…silverstripe#214)

* Infinite recursion protections
Adds sanity checks to prevent unanticipated internal infinite recursions (now throws Exceptions with helpful messages; previously timed out or hit memory limits)

* Accepting coding standards

Co-authored-by: Steve Boyd <emteknetnz@gmail.com>

* MNT Linting

---------

Co-authored-by: Steve Boyd <emteknetnz@gmail.com>
Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a direct cherry-pick of code that was already approved and merged, so looks fine to me.

@GuySartorelli GuySartorelli merged commit 46da869 into silverstripe:2.9 Nov 10, 2023
12 checks passed
@GuySartorelli GuySartorelli deleted the pulls/2.9/backport-214 branch November 10, 2023 00:39
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.

3 participants