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 Don't emit deprecation warning for calling deprecated methods #1293

Conversation

GuySartorelli
Copy link
Member

UserForm is calling the deprecated method setThrowExceptionOnBadDataType(). That can't be avoided without breaking changes, so we need to wraps those calls in Deprecation::withNoReplacement() so the deprecation warning isn't logged unless developers really want it.

Issue

@emteknetnz emteknetnz merged commit 24ba62a into silverstripe:6.2 May 24, 2024
13 checks passed
@emteknetnz emteknetnz deleted the pulls/6.2/no-deprecation-warning branch May 24, 2024 00:53
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