Issue Bug Closed

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

Dima Nozdrin 04/16/18, 14:24 updated 06/09/18, 18:45

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.