Project

General

Profile

Actions

Bug #84818

closed

Cannot install languages in v9 when var is not in typo3temp

Added by Philipp Kerling about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-04-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

I have a normal 9.2 installation in composer mode. I cannot install any language packs in the backend. Updating will show all language packs as being "not available."

The problem seems to be here:

https://github.com/TYPO3/TYPO3.CMS/blob/395d5efb61332e2f4380eaac93a14d61b1785961/typo3/sysext/install/Classes/Service/LanguagePackService.php#L255

$absolutePathToZipFile is within the var path, but writeFileToTypo3tempDir requires the path to be inside PATH_site."typo3temp/". For composer installations or when TYPO3_PATH_APP is set manually, var is not inside typo3temp any more since 9.2, so writeFileToTypo3tempDir cannot be used here.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #85077: Online Media cannot be added in composer mode anymoreClosedBenni Mack2018-05-25

Actions
Actions #1

Updated by Philipp Kerling about 6 years ago

Same problem in TYPO3\CMS\Extensionmanager\Utility\UpdateScriptUtility::determineUpdateClassName. Now I can't even use the extension manager :-(

Actions #2

Updated by Petra Arentzen almost 6 years ago

Philipp Kerling wrote:

I have a normal 9.2 installation in composer mode. I cannot install any language packs in the backend. Updating will show all language packs as being "not available."

The problem seems to be here:

https://github.com/TYPO3/TYPO3.CMS/blob/395d5efb61332e2f4380eaac93a14d61b1785961/typo3/sysext/install/Classes/Service/LanguagePackService.php#L255

$absolutePathToZipFile is within the var path, but writeFileToTypo3tempDir requires the path to be inside PATH_site."typo3temp/". For composer installations or when TYPO3_PATH_APP is set manually, var is not inside typo3temp any more since 9.2, so writeFileToTypo3tempDir cannot be used here.

Same problem here, also in a composer installation.

Actions #3

Updated by Gerrit Code Review almost 6 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 https://review.typo3.org/57081

Actions #4

Updated by Tymoteusz Motylewski almost 6 years ago

  • Related to Bug #85077: Online Media cannot be added in composer mode anymore added
Actions #5

Updated by Christian Kuhn almost 6 years ago

  • Status changed from Under Review to Resolved

this has been resolved with #85077

Actions #6

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF