Project

General

Profile

Actions

Bug #70717

closed

Translations for 6.2 are loaded on Windows because incorrectly DIRECTORY_SEPARATOR is used in a check

Added by Jigal van Hemert about 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Category:
Localization
Target version:
Start date:
2015-10-14
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

In \TYPO3\CMS\Lang\Service\TerService::fetchTranslation() a check is done to see if translations for a system extension is downloaded. This checks if /sysext/ is part of the path to the extension.
The actual check uses the constant DIRECTORY_SEPARATOR around 'sysext', which is a backslash on Windows and a forward slash on most other systems.
The extension path however always contains forward slashes.

The check thus fails on Windows and translations for 6.2 are downloaded. This is problematic for the extra labels and for the language files which have been moved to other locations in 7.x

Actions #1

Updated by Gerrit Code Review about 9 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/44063

Actions #2

Updated by Jigal van Hemert about 9 years ago

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

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF