Bug #65702
closedUpload of saved extension via Upload Extension in Extension Manager not possible: Could not write file .js
100%
Description
Problem
I tried to import an extension into 6.2.10 from another 6.2.10 system via the Upload Extension function.
But that is not possible. I get the errror message: "Could not write file .js".
Importing extensions from TER is possible therefore i think it is not a problem of the filesystem.
A bit longer error description:
fopen(...typo3conf/ext/tt_news/js/tceformsCategoryTree.js): failed to open stream:
No such file or directory in typo3/sysext/core/Classes/Utility/GeneralUtility.php line 2682
Any Ideas?
Updated by Nicole Cordes over 9 years ago
- Status changed from New to Needs Feedback
Have you tried to uninstall and delete the extension, before you upload the zip file? Could you provide the zip file for testing?
Updated by Andreas Schütte over 9 years ago
I just had the same issue. The check if a folder exists in unzipExtensionFromFile() is missing a $extensionDir.
Instead ofif (!is_dir($dir)) {
GeneralUtility::mkdir_deep($extensionDir . $dir);
}
it should beif (!is_dir(extensionDir . $dir)) {
GeneralUtility::mkdir_deep($extensionDir . $dir);
}
Updated by Riccardo De Contardi over 9 years ago
the lines
if (!is_dir($dir)) { GeneralUtility::mkdir_deep($extensionDir . $dir); }
are still present in /typo3/sysext/extensionmanager/Classes/Utility/FileHandlingUtility.php
Updated by Alexander Opitz over 9 years ago
- Status changed from Needs Feedback to New
Updated by Gerrit Code Review over 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/41096
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/41096
Updated by Wouter Wolters over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 30e524b9b1db2868b2c9eabacf30e30bc10f31de.
Updated by Gerrit Code Review over 9 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/41123
Updated by Wouter Wolters over 9 years ago
- Status changed from Under Review to Resolved
Applied in changeset 45d6ac389e1df9c906bcb210783fa49682b66075.