Project

General

Profile

Actions

Bug #47001

closed

EM: accept, extract and verify zip uploads

Added by Felix Kopp over 11 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2013-04-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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"

Actions #1

Updated by Kai Vogel over 11 years ago

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/

Actions #2

Updated by Felix Kopp over 10 years ago

  • Status changed from New to Resolved
  • Is Regression set to No
Actions #3

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF