Bug #47001
closed
EM: accept, extract and verify zip uploads
Added by Felix Kopp over 11 years ago.
Updated about 6 years ago.
Description
Zip files with sub-folders can not be uploaded when in unexpected structure.
Available structures are:
typo3.org zip download (for re-import in EM)
zip file name: "extensionKey_versionnumber.zip"
contains: 1* folder named "extensionKey_versionnumber"
extension manager 6.0+ zip download
zip file name: "extensionKey_versionnumber.zip"
contains: 1* folder named "extensionKey_versionnumber"
The accepted structures should be:
extension manager 6.0+ zip upload
zip file name: irrelevant as long as .zip format, Ok on file system and extractable
contains: 1* folder named "extensionKey" or 1* folder named "extensionKey_versionnumber"
If you download an extension as a zip file with the current extension manager (TYPO3 6.2-dev), then this does not include an extra directory, all files and directories are located at the root level. Even the zip files from TER do not include an extra directory. Therefore, no changes at the upload form are required. Try to use the "unzip" command to extract the zip file:
~/ unzip demo_0.0.1.zip
Archive: demo_0.0.1.zip
inflating: ext_emconf.php
inflating: ext_icon.gif
inflating: ext_localconf.php
inflating: ext_tables.php
inflating: ext_tables.sql
inflating: template.html
creating: Classes/
creating: Classes/Controller/
inflating: Classes/Controller/DemoController.php
creating: Classes/Domain/
creating: Classes/Domain/Model/
inflating: Classes/Domain/Model/Demo.php
creating: Classes/Domain/Repository/
inflating: Classes/Domain/Repository/DemoRepository.php
creating: Configuration/
creating: Configuration/TCA/
inflating: Configuration/TCA/Demo.php
creating: Configuration/TypoScript/
inflating: Configuration/TypoScript/constants.txt
inflating: Configuration/TypoScript/setup.txt
creating: Resources/
creating: Resources/Private/
creating: Resources/Private/Language/
inflating: Resources/Private/Language/de.locallang_db.xlf
inflating: Resources/Private/Language/locallang_db.xlf
creating: Resources/Private/Layouts/
inflating: Resources/Private/Layouts/Default.html
creating: Resources/Private/Partials/
creating: Resources/Private/Templates/
creating: Resources/Private/Templates/Demo/
inflating: Resources/Private/Templates/Demo/List.html
inflating: Resources/Private/Templates/Demo/Show.html
creating: Resources/Public/
- Status changed from New to Resolved
- Is Regression set to No
- Status changed from Resolved to Closed
Also available in: Atom
PDF