[TYPO3-typo3org] Loss of dependencies and constraints in TER
Elmar Hinz
elmar.DOT.hinz at team.MINUS.red.DOT.net
Wed Jun 6 13:40:35 CEST 2007
Hi Daniel,
>
> Hm. I think it's a bug in the em, not in a TER-webservice.
>
You are right. One should never forget that there is always a second side.
So the problem may indeed be caused by em.
> * function importExtInfo($extKey, $version='')
> * function fetchMetaData($metaType)
> * function checkDependencies($extKey, $conf, $instExtInfo)
> * function uploadExtensionToTER($em)
The problem happens definitely on upload. The dependencies are lost in
TER already, but also in ext_emconf.php after upload. So I guess some of
this functions drop out.
> This looks very interesting (line 1732):
> // check dependencies, act accordingly if ext is loaded
> list($instExtInfo,)=$this->getInstalledExtensions();
> $depStatus = $this->checkDependencies($extKey, $EM_CONF, $instExtInfo);
I can hunt the bug down to the same function, but called from line 1843 in
showExtDetails.
$list doesn't contain the dependencies under all circumstances.
It's strange. I can update other informations in ext_emconf.php and the
alterations appear in $list. Only dependencies stay empty until ... until
what event exactly ???
Regards
Elmar
More information about the TYPO3-team-typo3org
mailing list