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 Set empty date to null #263

Merged

Conversation

emteknetnz
Copy link
Member

@emteknetnz emteknetnz commented Oct 2, 2024

Issue silverstripe/silverstripe-framework#11403

Setting a DBDate to false will now throw an validation exception, so set to null instead

src/Extensions/SiteTreeContentReview.php Outdated Show resolved Hide resolved
src/Extensions/SiteTreeContentReview.php Outdated Show resolved Hide resolved
src/Extensions/SiteTreeContentReview.php Outdated Show resolved Hide resolved
@emteknetnz emteknetnz force-pushed the pulls/6/field-validators branch 2 times, most recently from 8622bbe to 4df9e07 Compare October 29, 2024 23:48
@GuySartorelli GuySartorelli merged commit a62fd3c into silverstripe:6 Nov 6, 2024
9 checks passed
@GuySartorelli GuySartorelli deleted the pulls/6/field-validators branch November 6, 2024 01:25
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