#88332incorrect generation of unique file name in BasicFileUtility
Description
BasicFileUtility->getUniqueName() dosen’t work correctly anymore since https://review.typo3.org/c/45695/
For the script it is no longer possible to determine a unique filenime “higher” then 99, because the unique string generation for numbers > maxNumber never kicks in
Steps to reproduce:
1) configure a field as
'type' => 'group',
'internal_type' => 'file',
'uploadfolder' => 'uploads/pics',
2) upload the same file 99 times (or place filename_1 to filename_99 in uploads/pics)
3) upload the same file another time – you will get the error “Copying file ‘’ failed!: No destination file () possible!”
(possible) fix: revert change in https://review.typo3.org/c/Packages/TYPO3.CMS/+/45695/15/typo3/sysext/core/Classes/Utility/File/BasicFileUtility.php#b291
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.