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.