Project

General

Profile

Actions

Bug #85502

closed

Test with local driver produces error on windows because file name ends with a dot (and no extension)

Added by Jigal van Hemert over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Tests
Target version:
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

Also available in: Atom PDF