Bug #64682

Bug #64679: Failing functional tests on Windows system

Ensure unix like temp paths

Added by Nicole Cordes over 5 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Tests
Target version:
Start date:
2015-01-31
Due date:
% Done:

100%

TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Using tempnam() returns a Windows paths containing backslashes. To ensure functionality (and fix functional tests) we should ensure unix like paths with forward slashes.

Associated revisions

Revision e91cc1f7 (diff)
Added by Nicole Cordes over 5 years ago

[BUGFIX] Ensure unix like paths for temp files

Using tempnam() on Windows systems returns paths containing backslashes.
As other paths inside the core are already transformed to paths using
forward slashes some string comparisons fail. This patch ensures correct
transforming of slashes after the usage of tempnam().

Releases: master, 6.2
Resolves: #64682
Change-Id: Ic85e06d9ed32c9f668efd5bb74b9bc14df367e1b
Reviewed-on: http://review.typo3.org/36493
Reviewed-by: Oliver Klee <>
Tested-by: Oliver Klee <>
Reviewed-by: Mateusz WojtuƂa <>
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

Revision 3e62b91b (diff)
Added by Nicole Cordes over 5 years ago

[BUGFIX] Ensure unix like paths for temp files

Using tempnam() on Windows systems returns paths containing backslashes.
As other paths inside the core are already transformed to paths using
forward slashes some string comparisons fail. This patch ensures correct
transforming of slashes after the usage of tempnam().

Releases: master, 6.2
Resolves: #64682
Change-Id: Ic85e06d9ed32c9f668efd5bb74b9bc14df367e1b
Reviewed-on: http://review.typo3.org/36507
Reviewed-by: Christian Kuhn <>
Tested-by: Christian Kuhn <>

History

#1 Updated by Gerrit Code Review over 5 years ago

  • Status changed from New to Under Review

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

#2 Updated by Gerrit Code Review over 5 years ago

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

#3 Updated by Nicole Cordes over 5 years ago

  • Subject changed from Unsure unix like temp paths to Ensure unix like temp paths

#4 Updated by Gerrit Code Review over 5 years ago

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

#5 Updated by Gerrit Code Review over 5 years ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36507

#6 Updated by Nicole Cordes over 5 years ago

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

#7 Updated by Anja Leichsenring almost 5 years ago

  • Sprint Focus deleted (On Location Sprint)

#8 Updated by Riccardo De Contardi about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF