Actions
Bug #91553
closedRisk of non-unique field in DatePickerViewHelper
Start date:
2020-06-02
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Description
Hello there,
I've discovered an issue with the DatePickerViewHelper
.
The method to calculate the field id when rendering the datepicker uses this method to do so:$id = 'field' . md5(uniqid());
This has some downsides since PHP on Windows does not use microseconds to create the uniqid by default. Therefore the second parameter to uniqid has to be set to ensure its uniqueness.
This bug can be traced back to very old versions of TYPO3.
Best Regards
Tizian
Actions