Project

General

Profile

Actions

Bug #84747

closed

class.ext_update.php of extension *any extension* did not declare ext_update class

Added by Dima Nozdrin about 6 years ago. Updated almost 6 years ago.

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

0%

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

Description

After an installation of any extension with file class.ext_update.php in module "Extension" a user gets the next error:

#1428176468: class.ext_update.php of extension *any extension here* did not declare ext_update class

It comes from file

../typo3/sysext/extensionmanager/Classes/Utility/UpdateScriptUtility.php:112

Where a GeneralUtility::writeFileToTypo3tempDir tries to write file like this /var/www/typo3-latest/var/transient/ext_update5a617a2ca9d6e97ae9f755ccf123705d.php to folder that is obviously not in typo3temp dir.

As a solution GeneralUtility::writeFile can be used instead of GeneralUtility::writeFileToTypo3tempDir with an appropriate check for existence of 'transient' folder.


Files

1523881418426.jpg (465 KB) 1523881418426.jpg Dima Nozdrin, 2018-04-16 14:23
Actions #1

Updated by Benni Mack almost 6 years ago

  • Status changed from New to Closed

Is fixed in latest master. Thanks for the report.

Actions

Also available in: Atom PDF