Issue Bug Closed

#38229Wrong Importpath After Adding 2nd Repository

Medienfabrik Development 06/20/12, 16:35 updated 07/30/13, 23:47

Description

In the Extension Manager we added another (our own) repository.
Now, if you try to import an extension out of this repository or out of any other the generated link is wrong. It doesn’t contain the domain and the path.

Error: The data transfer did not succeed. The T3X file "http://m/f/mf_myext_1.1.28.t3x" could not be fetched. Possible reasons: network problems, allow_url_fopen is off, cURL is not enabled in Install Tool.

Error: The data transfer did not succeed. The T3X file "http://t/t/tt_news_3.1.0.t3x" could not be fetched. (...)

If we delete the second repository everything works fine again.

We could trace the problem to the function getMirrorURL() in typo3_src/typo3/sysext/em/classes/index.php
The array $this->MOD_SETTINGS[‘extMirrors’] seems to be incorrect filled. It partially contains infos about repository 1 and repository 2.
Perhaps this could be the problem.

We reproduced the problem in Typo3 4.5.16, 4.6.7 and even in 4.6.9

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.