Bug #85502

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

Added by Jigal van Hemert over 2 years ago. Updated over 2 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.

#1

Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57489

#2

Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57748

#3

Updated by Jigal van Hemert over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#4

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF