BeLog: Exception when time input fields are empty
If you go to "Info>Log" or "Admin>Log" and select "Userdefined" time range and then leave one of the input fields (start or stop) empty and click "Set", you end up with this exception:
Exception while property mapping at property path "":PHP Catchable Fatal Error: Argument 1 passed to TYPO3\CMS\Belog\Domain\Model\Constraint::setManualDateStop() must be an instance of DateTime, null given, called in .../html/typo3_src/typo3/sysext/extbase/Classes/Reflection/ObjectAccess.php on line 215 and defined in .../html/typo3_src/typo3/sysext/belog/Classes/Domain/Model/Constraint.php line 273
When you are in this situation and go to the module again, even changing the Time Select Box to "Undefined" you still get this error (probably because the empty input fields are hidden but submitted again).
And empty input field in start/stop should remove this specific limit.
Updated by Ernesto Baschny over 7 years ago
Thanks a lot for fixing that!
@Steffen, the "TYPO3 Version" is the lowest version where this issue appears. Important to know when thinking about which releases to consider backporting.
Of course the backport itself should consider the backporting rules that are in place at the time the fix is merged into master (which can be years later the report was made...).
Since this applies not only to 6.2, target version was set to "next-patchlevel", whichever this will be at the time the fix was created.