Project

General

Profile

Actions

Bug #16823

closed

import of extension: Error: MD5 hash of downloaded file not as expected:

Added by Franz Holzinger over 17 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Should have
Category:
Extension Manager
Target version:
-
Start date:
2006-12-31
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
5
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The import of tt_board 1.0.9 into typo3conf fails. All the writing rigths have been set on the file system.
It always ends in the error message:
-------
Extension import results
Error: The datatransfer did not succeed. Error: MD5 hash of downloaded file not as expected:
a041f2a354634f2296622ec6e47d3ffe !=

(issue imported from #M4725)


Files

em_index.diff (844 Bytes) em_index.diff Administrator Admin, 2007-03-19 08:22

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #16878: Cannot upload extension to Typo3ClosedOliver Hader2007-01-22

Actions
Actions #1

Updated by Palahala about 17 years ago

I guess the actual bug is: imports of PREVIOUS versions fail.

I can confirm this for tt_board, but only when explicitly selecting a PREVIOUS version (such as 1.0.9 as mentioned above; current version is 1.1.8).

However, I also get the same error for extensions that have been reviewed, but only if "Security Settings", "Enable extensions without review (basic security check)" is not active. I guess this only occurs when a previous version has been reviewed; probably a reviewed version will import just fine when no later version exists.

For example:
- uncheck "Enable extensions without review (basic security check)"
- in "List or look up REVIEWED extensions" find "lorem_ipsum"
- this gets one version 1.0.0, which fails to import

- activate "Enable extensions without review (basic security check)"
- in "List or look up ALL extensions" find "lorem_ipsum"
- this gets one version 1.1.0, which imports just fine

Note that, so far, tt_board has never been reviewed and thus will only show up when activating this option.

I guess the error is related to:

function searchExtensionsXML($search, $owner='', $order='', $allExt=false,
$allVer=false, $offset=0, $limit=500) {
:
if (!$allVer) {
if ($this->useUnchecked) {
$where .= ' AND lastversion>0';
} else {
$where .= ' AND lastreviewedversion>0';
}
}
:
}

...in typo3_src-4.1/typo3/mod/tools/em/class.em_xmlhandler.php, which is invoked from

function importExtFromRep(...) {
:
$this->xmlhandler->searchExtensionsXML($extKey, '', '', true);
:
}

...in class.em_index.php.

But right now I fail to see the error in this.

TYPO3 4.1 / PHP 4.3.10 / MySQL 4.1.12a-nt

WORKAROUND: activate "Security Settings", "Enable extensions without review (basic security check)" and select the latest version.

Actions #2

Updated by Palahala about 17 years ago

Hi Franz,

I think you're not monitoring bug 4725 (which you reported in December 2006), so just for your information: I added some comment.

Actions #3

Updated by Franz Holzinger about 17 years ago

This has been fixed in SVN now. Close this bug request.

Actions #4

Updated by Michael Stucki about 17 years ago

Fixed.

Actions

Also available in: Atom PDF