-
-
Notifications
You must be signed in to change notification settings - Fork 355
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
Not nullable setter for endtime #2487
Comments
wanna make it nullable? |
If you create/edit news in your own extension, this can lead to problems, because you can no longer delete endtime once it has been set, or in my case the field is sent as null and an exception is thrown during mapping. |
+1. Running into the same issue as @runner78 when extending news models. |
be aware that extbase can handle null datetime values in setters only since 13.2, see https://review.typo3.org/c/Packages/TYPO3.CMS/+/83839 |
Bug Report
The setter of the property "endtime" in the News Model has the non-nullable type "Datetime"
Environment
Possible Solution
No type for the parameter or make it nullable.
The text was updated successfully, but these errors were encountered: