Bug #39433

functional TypoScript\RenderingTest fails on Windows

Added by Adrian Föder about 3 years ago. Updated almost 3 years ago.

Status:Resolved Start date:2012-08-01
Priority:Must have Due date:
Assigned To:Adrian Föder % Done:

100%

Category:-
Target version:-

Description

due to incorrect path-separator-handling, the FunctionalTests fail with messages similar to

1) TYPO3\TYPO3\Tests\Functional\TypoScript\RenderingTest::basicRenderingWorks
TYPO3\Fluid\View\Exception\InvalidTemplateResourceException: Template file
"C:UsersafoederFLOW3PhoenixBasePackagesApplicationTYPO3.TYPO3TestsFunctionalTypoScrip
t/Fixtures//WebsiteTemplate.html" could not be loaded

this is caused by DIR being used as base path, being '\' on windows and causing these errors.

Associated revisions

Revision 9cf23a69
Added by Adrian Föder almost 3 years ago

[BUGFIX] Fix template path in Windows for Functional Tests

A backslash as path separator in plain TypoScript seems
to make it disappear after parsing. Since usually forward
slashes and resources:// should be used however, this is
hard-coded fixed in the appropriate Functional Test.

Change-Id: Ide7e5064b05d03d9b1ad9e265db371d253f135b1
Fixes: #39433

History

#1 Updated by Gerrit Code Review about 3 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13393

#2 Updated by Gerrit Code Review almost 3 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13393

#3 Updated by Gerrit Code Review almost 3 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/13393

#4 Updated by Adrian Föder almost 3 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF