Actions
Bug #85502
closedTest with local driver produces error on windows because file name ends with a dot (and no extension)
Start date:
2018-07-06
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Description
Test filesCanBeCopiedToATemporaryPath specified a file name without an extension but AbstractDriver::getTemporaryPathForFile() tried to add the extension to the name. If you try to create a file with a name ending with a dot Windows will usually strip off the dot.
The copy operation somehow fails and then the touch() after that produces an error that the file can't be accessed.
The easy solution is to specify an extension in the name.
Actions