[TYPO3-typo3org] Loss of dependencies and constraints in TER
Michael Stucki
michael at typo3.org
Mon Jun 11 13:59:22 CEST 2007
Hi Elmar,
can you put it to the bugtracker, please? Thanks!
- michael
Elmar Hinz wrote:
> 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
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
More information about the TYPO3-team-typo3org
mailing list