Bug #16823
closedimport of extension: Error: MD5 hash of downloaded file not as expected:
0%
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
Updated by Palahala over 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.
Updated by Palahala over 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.
Updated by Franz Holzinger over 17 years ago
This has been fixed in SVN now. Close this bug request.