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 Call property directly to prevent infinite recursion #1307

Merged

Conversation

emteknetnz
Copy link
Member

@emteknetnz emteknetnz commented Jan 15, 2025

Issue silverstripe/.github#357

Fixes issue where framework FormMessage::getMessage() and elemental TextCheckboxGroupField::getMessageCast() end up in an infinite loop e.g. https://github.com/silverstripe/silverstripe-elemental/actions/runs/12761071213/job/35617198112 though also happens in quite a few other places

Can be triggered by add-block-element-to-data-object.feature:11

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.

LGTM

@GuySartorelli GuySartorelli merged commit 720284f into silverstripe:5.3 Jan 15, 2025
27 checks passed
@GuySartorelli GuySartorelli deleted the pulls/5.3/prevent-recursion branch January 15, 2025 01:11
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